how to disable menu item [message #689034] |
Mon, 28 August 2023 05:36 |
|
mfahimaamirgmailcom
Messages: 64 Registered: May 2011 Location: pakistan
|
Member |
|
|
What are the steps for disabling the Menu_item based on user rights, such as deleting or editing
SET_MENU_ITEM_PROPERTY ( 'testmenu.delete', ENABLED, PROPERTY_FALSE );
SET_MENU_ITEM_PROPERTY('testmenu.edit',visible,PROPERTY_TRUE);
Where do I put the code in MENU STARUP CODE or when_new_form_instance trigger? Could you please guide me step by step?
Tanking you in advance Regar's
|
|
|