Notifications
Announcements
No record found.
How Can we stop deleting record which are specified in Lookup, is it can be achieved through out of the box feature or should write plug-in or custom workflow?
*This post is locked for comments
Hi ganesh,
You can write Plugin code for it, Please check below article how to write plugin on delete
community.dynamics.com/.../write-a-common-plugin-for-create-update-delete-events-in-dynamics-crm-2011
If you find it helpful, Please mark my Answer as Verified.
Best Regards,
Shahbaaz
Hi Ganesh,
Lookup records also belongs to entity so you can achieve this using security role . Try to remove entity delete privileges of the assigned user security role.
Hope this helps.
Yes if you want to delete based on some condition then you can write plugin or configure work flow .
Hi,
you can stop a user from deleting a record if it being used in another lookup using out of the box relationship behavior.
use cascading behavior and set restrict delete to All.
refer to the cascading behaviour given here :
msdn.microsoft.com/.../gg309412.aspx
if you need to do on some condition then obviously you will have to write a plugin.
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 Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2