Hi all,
Can anyone give me a code for sharing records via plugin Oncreate.
*This post is locked for comments
Hi all,
Can anyone give me a code for sharing records via plugin Oncreate.
*This post is locked for comments
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.
Hi Seshan,
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.
In addition to that you can also refer this :ssharmacrm.wordpress.com/.../share-record-with-multiple-users-using-plugin-in-dynamics-crm
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
dkrishna
6