Thursday, May 21, 2015

How to check calling menu item in a form

If we need to give a condition to check for calling menu item in form we can use below code.

 if(element.args().menuItemName() == menuitemDisplayStr(<MenuItemName>))
{
          //Logic
}

No comments:

Post a Comment