Home

Aug 20, 2008

Field Level Security in Microsft Dynamic CRM 4.0

Hi All,

One of our client had requirement in which he was allowing user to view my CRM record. However, he wanted to restrict user from displaying of some field such as Price, Discount.

Let say, Product is entity which contain all the information with Price and Discount. Product buyer should not be able to display the product Price and Discount.

We achieved this by creating a custom role say “Display Price” and assigned to a user which can see product Price and Discount.

On form load using JavaScript we check whether user has the permission to see these fields or not. If not then disable the fields or hide the field.

Thus we achieved the field level security in Microsoft Dynamic CRM 4.0.

Refer thislink for javascript code
http://groups.google.co.in/group/microsoft.public.crm.developer/browse_thread/thread/52957446ffc667ae?hl=en#

Let me know if you have any further questions.

Thanks,
Amol Gholap.

1 comment:

a33ik said...

Hi.

Look my post about Field Level Security.

I hope it will help you.

http://a33ik.blogspot.com/2009/06/field-security-level-with-own-hands.html