Hide Action

Hi All, Is there any way to restrict an action menu on multi select of the item grid.I have defined an action called "Alert Me" on the Part Item Type.In the main grid on right click after selecting Part/Parts I am able to see my Action.However I want this action menu to appear only when a single Part is selected and it should be hidden on the multi select. is there any way to achieve this functionality?
  • I can't think of a way to hide the action if you select multiple parts.  You could either put up an alert message (or ignore gracefully -- exit method) in the method code.

  • Hello,

    The easiest way to accomplish this would be to throw an alert as Douglas has suggested to inform the user that they should select multiple parts.

    It may also be possible using CUI which allows you to define an Init Method that can run logic to determine when a menu item should appear. We have a few blog posts regarding customizing menus using CUI but none of that currently cover this exact use case. This is an interesting requirement though, and I can certainly add this to our backlog of future blog ideas.


    Christopher Gillis

    Aras Labs Software Engineer