You need to sign in to do that
Don't have an account?

Trigger help - how to add a link to view attachments from case email and display on case list view?
Hi All,
Need your help to write a trigger which takes the user to attachment from the email (we use email -to case) by clicking on a link on case list view? Is it even possible?
I have writtena trigger to ticka box if the email has any attachement at all but we need to display the link to attachement as well - this will help improve productivity so much
Need your help to write a trigger which takes the user to attachment from the email (we use email -to case) by clicking on a link on case list view? Is it even possible?
I have writtena trigger to ticka box if the email has any attachement at all but we need to display the link to attachement as well - this will help improve productivity so much
Attachments similar to any other record in salesforce has record IDs which you can fetch using SOQL:
SELECT ContactId,(SELECT id FROM attachments) FROM Case
You can create a trigger which can capture these IDs and construct a URL and create a custom URL field with the value of the Attachment URL.