Action had been added a new Property "Can Execute" (circled in Figure 1) at Aras Innovator 11 SP9. It only accepts client side Method, and the Method just need to return true or false.
|
Figure 1 |
If evaluated result of the Method is true, the Action will be enabled and show normally (like Figure 2). Otherwise, the Action will be disabled and grayed out (like Figure 3).
|
Figure 2 |
|
Figure 3 |
Please note. The "Can Execute" will only apply to "page", it cannot apply to "Item".
When the type is "Generic", the Method will be evaluated after user login.
When the type is "Iteme" or "ItemType", the Method will be evaluated when entering an ItemType main page.
Comments
Post a Comment