You need to sign in to do that
Don't have an account?
Samantha Chua
Retrieve Case Object from Attachment Parent ID
Hi,
I would like to know how I can retrieve a Case Object based on the Attachment Parent ID (Trigger). Been trying to do so but not making any progress. Would appreciate some advice on how I can go about doing so~!
Cheers
I would like to know how I can retrieve a Case Object based on the Attachment Parent ID (Trigger). Been trying to do so but not making any progress. Would appreciate some advice on how I can go about doing so~!
Cheers
Standard Salesforce functionality does not allow any modification to Note and Attachment object.
Best Approach to create Attachment trigger can be: Create trigger from Developer console.
Need to click New: Apex Trigger: Then you can select SObject as "Attachment" form dropdown.
Refer the below article
https://help.salesforce.com/apex/HTViewSolution?id=000181538&language=en_US (https://help.salesforce.com/apex/HTViewSolution?id=000181538&language=en_US)
Try below code
Mark this as "SOLVED" if your query is answered.
Thanks & Regards,
Bhanu Mahesh Gadi