Wednesday, March 21, 2012 12:43 AM
Dynamics CRM v4 is restricted, via Security Roles, in a way that users can only
view records they own. The problem we are having is that users can now enter
duplicates without being notified. I believe this is because they do not have
permissions to view all the records in that particular entities database.
Is there a
way a user can be notified when they create a duplicate record with our current
Is there a way we can hide or restrict them from viewing anything
except for the Account Name in the Account entity? Hide Primary Contact mainly.
Wednesday, March 21, 2012 2:54 AM
The approch that we have taken to this issue is to present the user with an SSRS report imbedded into the account creation form which shows potential duplicate records based off of key fields they have entered like the name, phone number, and address. The report uses a data source that has access to full CRM database but only shows a couple select fields on the report.
In CRM 4.0 there is no field-level security built in. You can setup form scripts to hide certain fields based on Security Roles, but this wont prevent them from seeing those fields through other means like an advanced find.
Wednesday, March 21, 2012 9:08 AM
We wrote a custom code to achieve this. You have a two options
- You can write a plugin on precreate event and throw an error using InvalidPluginExecutionException with the message you would like.
I hope this helps.
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Amreek Singh Senior CRM Consultant CDC Praxa Sydney, Australia http://mscrmshop.blogspot.com http://crm2011usersettings.codeplex.com
Thursday, March 29, 2012 4:16 AM
- Edited by P Dub Thursday, March 29, 2012 4:17 AM