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

Hide buttons on list form using security roles based on enum values of record in ax 2012 R3

$
0
0

Hi All,

I have below requirement.

I have created one list page using interaction class. We have one Enum field for status.(Possible values- Open,validated). Whatever will be status it should be modify according to security rules. Only defined profiles will be able to delete the order having status "Validated".

I tried with below approach:-

1. I set Needed permission of form control to Update.

2. I created new privilege with display menuitem which is used to display list page.

3.I created duties,roles and assign this role the one user ID.

(For testing purpose, I assigned all the roles except System admin role to the user id.)

Issue with my approach:-

When I open that list page form it doesn't show me validate button.

As per requirement this button will be available for all users if the status is OPEN.If it is VALIDATED then it should be either invisible or not accessible to specific users.

Kindly let me know -

if conditional access of buttons is possible with security roles or not?

Is it possible to achieve this or not?

IS there any other way to achieve this?

 

 


Viewing all articles
Browse latest Browse all 175888

Trending Articles



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