Notifications
Announcements
No record found.
Hi team,
I have a requirement where updating Asset state should be restricted with the role. Like in below snap the state 'Working' will be allowed to update only by user A and user B should be restricted to update 'Working' state and able to update only the state 'Training' . This state field is a string type and we have lot of states. so could you assist if we can able to achieve this through user level role restriction or we need find other way?
Hi Vignesh,
There is no setting in the application to configure this out of the box. You can achieve this with a customization. E.g. extensible data security (XDS) is an option to restrict the available states for users in the list.
Thanks Andre for your response.
Could you share any documentation to implement this?
Also could you provide some input on how to have this XDS implemented for the requirement I stated? can we able to restrict certain states to certain users or user roles?
I wrote several blogs about XDS: https;//dynamicspedia.com/tag/xds. For more understanding, you can read the blog with some examples. Extensible Data Security examples for Microsoft Dynamics (dynamicspedia.com)
To get started with your scenario, you first need the definition about which users will have what states available. Is this dependent on a security role, a department, something else? If there is no option to link something, you might need a new setup table and form.
Then it would be possible to define a query for the security policy and the policy which will constrain the tables.
Hi Andre,
Excuse for late response.
With security policy, query and new role i can able to implement record level restriction but I'm facing one issue, with reference to my initial post the particular state value defined in query is getting restricted in 'update asset state' table but it also restricting/showing empty for the state value in asset grid list/table.
we need to restrict only in update asset table and users should be able to see all state records in list page, could you guide how to achieve this? i haven't defined any constrained tables apart from the primary asset state table
Can share some screenshots to illustrate the current behavior and tell more technical details how you did setup the XDS policy?
I created the security policy and query like below and then assigned the relevant role to user, the particular state is not showing in 'state' table which is fine but it also showing the state value as empty in grid level which is not intended
Particular state is restricted here which is expected
but the same state is showing empty in asset table grid page which needs to be made visible
Let me know if you have any idea on this?
On the form to update the asset status (EntAssetLifecycleStateUpdate), a temporary table (TmpLifecycleStateUpdate) is used to show the options to choose from. You can use this table in your policy instead of the current one you used now. This is just a suggestion as I'm not familiar with the data model for asset management.
It seems the table where i was trying to restrict the record is temporary table, so could you assist whether we can involve the tmp table in security policy? when i use the temp table in policy level i'm getting error, so kindly assist on this.
Are you able to share larger screenshots to illustrate the current scenario? I'm not able to determine which exact forms you used when you created the screenshots.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 646 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader