You need to sign in to do that
Don't have an account?
Anuj Kumar 29
Want to restrict to delete the related list.
Hi All,
I want to restrict to delete a related list record while clicking on delete button. for example i am having a Project__c custom object in that i am having a related list of Assignment__c custom object. Now, if user try to remove the Assignment related list while clicking the delete button it should not remove.
Solution: I am trying to apply the trigger to restrict to delete the Assignment related list but not able to proceed coz. i am just a beginner in Salesforce and this is the work is pending on my name.
any solution will be appriciated.
Thanks,
Anuj
try this:
Thanks
Ankur Saini
If you don't want to give delete functionality of related list record then you should create custom related list.
1. Create standard visualforce page with same UI as related list.
2. Remove standard related list from page layout and drag and drop visualforce page on page Layout
Following is a code you can try: