Thursday, February 23, 2017

Dynamics NAV - Field Level Permission by new property AccessByPermission

Hello Friends,

In NAV 2016 we have new property for table’s field à AccessByPermission

Sets a value for a table field or UI element that determines the permission mask for an object that a user must have to see and access the related page fields or UI element in the client. The UI element will be removed at runtime if the user does not have permissions to a certain object as specified in the Access By Permission window

If the user doesn’t have permission for table than field will automatic hide from page

For example,
In standard NAV 2016 – “Promised Delivery Date” on sales header require permission for table “Order Promising Line”.  If the user doesn’t have permission than this fields not visible to user on sales order page.




















Hint:
If you defined the property for a table field, then all instances of the field on pages are removed. To override the property on an individual page field, delete the permission value after the = sign in the Value field. Do NOT delete the whole string as that will be replicated on the property of the table field.


I hope it will be helpful to someone.
Thanks for reading.

Keep Sharing.. Keep Growing...


No comments:

Post a Comment