Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: How do I hide/restrict a right-click option to delete a security role?

$
0
0

Hi AXatak,

I can't do the work for you, but can give you hints only. The forum is not a place for outsourcing work ;). If you are not familiar with development, you have to find a developer which would be able to help you.

The next line is inserting the remove button.

selRemove               = popupMenu.insertItem("@SYS301894", false, !btnUserRoleRemove.enabled());//"Remove"

It would be possible to have a condition with an "if" statement to let the form know if the button needs to be created or not. Like:

if (<<some condition>>)

{

   selRemove               = popupMenu.insertItem("@SYS301894", false, !btnUserRoleRemove.enabled());//"Remove"

}


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>