Hi all,
Can anyone give me a code for sharing records via plugin Oncreate.
*This post is locked for comments
Hi Seshan,
I am not sure you may already viewed this -
msdn.microsoft.com/.../hh547423.aspx
In addition to that you can also refer this :ssharmacrm.wordpress.com/.../share-record-with-multiple-users-using-plugin-in-dynamics-crm
Instead of sharing records with users, you can create a team with these users and share the records with team. This will improve the performance by reducing the number of columns in Principal Object Access (POA) table. Each time you share a record with a user, a new record is created in POA. If you share the record with 100 users, 100 new records are created in the table. But if you create a team with these 100 users and share the record with the team, only 1 record is created in POA, thus improving performance.
See the links below.
community.dynamics.com/.../171181
crmtipoftheday.com/.../the-problem-with-sharing/
Hope this helps.
Hi,
I highly recommand the suggestion of Nithya Gopinath else your database will become a mess and the users will start after a few to complain about performance issues.
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 Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HR-09070029-0 2
ED-30091530-0 1