how I add an action on the relaionship, when user right-click on the relaionship line can see it,and can click it to run ?
how I add an action on the relaionship, when user right-click on the relaionship line can see it,and can click it to run ?
Hi Zachary,
There's a couple different ways to do this. If you're just trying to add an action on a specific relationship, you can do this by adding an Action to the relationship ItemType. You can see an example of this on Part BOM under the Actions relationship tab.
However, if you're trying to add a generic action that will appear in the context menu of every relationship, you'll need to use CUI. We don't have any specific examples of adding an option to a context menu, but we do have two blog posts that cover how to add different kinds of UI elements using CUI. The general process and steps will be the same; you'll just need to make the change to a different location.
https://community.aras.com/b/english/posts/tech-tip-add-keyboard-shortcuts-through-cui
https://community.aras.com/b/english/posts/creating-a-custom-refresh-button-using-cui
Chris
Christopher Gillis
Aras Labs Software Engineer
Hi Zachary,
There's a couple different ways to do this. If you're just trying to add an action on a specific relationship, you can do this by adding an Action to the relationship ItemType. You can see an example of this on Part BOM under the Actions relationship tab.
However, if you're trying to add a generic action that will appear in the context menu of every relationship, you'll need to use CUI. We don't have any specific examples of adding an option to a context menu, but we do have two blog posts that cover how to add different kinds of UI elements using CUI. The general process and steps will be the same; you'll just need to make the change to a different location.
https://community.aras.com/b/english/posts/tech-tip-add-keyboard-shortcuts-through-cui
https://community.aras.com/b/english/posts/creating-a-custom-refresh-button-using-cui
Chris
Christopher Gillis
Aras Labs Software Engineer