Question Status

Verified
IRodman asked a question on 29 Mar 2013 2:43 AM

Hello everyone,

What can I do to hide a button for everyone except the people who are allowed to see it (Ex: Administrator, and some other people).

Thank you

Reply
Suggested Answer
Deepak Agarwal responded on 29 Mar 2013 4:15 AM

You can try Security key and Configuration key.

GO to Property of that button you want to hide, and in Security Key add "Admin".

- Thanks & Regards

Harry

Reply
IRodman responded on 29 Mar 2013 5:04 AM

Sorry but where do I find the property of that button? I right clicked on the button and I didn't see the property. I went on the AOT, but I don't know where on the AOT I can find the button property

Reply
Martin Dráb responded on 29 Mar 2013 7:54 AM

Security is the right way to implement your requirement (configuration keys are not relevant here), but the actual way depends on version of AX. Are you on AX 2012 or some older version?

Martin "Goshoom" Dráb | Freelancer | Goshoom.NET Dev Blog

Reply
IRodman responded on 29 Mar 2013 12:43 PM

I am using AX 2009

Reply
Verified Answer
Martin Dráb responded on 30 Mar 2013 12:47 AM

Base your button on a menu item (create a new if needed). If the function is available only from the form, not from main menu, the security key is usually suffixed by Misc. Assign a security key to the menu item.

Then configure access to the button in Administration > Setup > Security > User group permissions.

See more in Understanding Security in Microsoft Dynamics AX 2009.

Martin "Goshoom" Dráb | Freelancer | Goshoom.NET Dev Blog

Reply
Verified Answer
Deepak Agarwal responded on 30 Mar 2013 3:29 AM

right click on form click on setup-> in information tab->Form Name-> Edit.

Here you find that form, Now Go to design Node and find your button on which u want to apply rights. in property sheet of this button u will find the Configuration and security key.

- Thanks & Regards

Harry

Reply
Verified Answer
Martin Dráb responded on 30 Mar 2013 12:47 AM

Base your button on a menu item (create a new if needed). If the function is available only from the form, not from main menu, the security key is usually suffixed by Misc. Assign a security key to the menu item.

Then configure access to the button in Administration > Setup > Security > User group permissions.

See more in Understanding Security in Microsoft Dynamics AX 2009.

Martin "Goshoom" Dráb | Freelancer | Goshoom.NET Dev Blog

Reply
Verified Answer
Deepak Agarwal responded on 30 Mar 2013 3:29 AM

right click on form click on setup-> in information tab->Form Name-> Edit.

Here you find that form, Now Go to design Node and find your button on which u want to apply rights. in property sheet of this button u will find the Configuration and security key.

- Thanks & Regards

Harry

Reply
Suggested Answer
Deepak Agarwal responded on 29 Mar 2013 4:15 AM

You can try Security key and Configuration key.

GO to Property of that button you want to hide, and in Security Key add "Admin".

- Thanks & Regards

Harry

Reply