+ Start a Discussion
BritishBoyinDCBritishBoyinDC 

Updating a Parent record with the Share with Anyone Link

I have a scenario where a user will upload documents to Chatter for a Case, and then send an email regarding that case, with links to the uploaded files, to some contacts linked to the case via a Custom Object.

 

So I would like to be able to access those links, and either store them, or build an email template on the fly...but although I can see the uploaded items in the feedpost object, and can access them via the ContentDocumentLink object, I can't see anywhere the link that is created that you can access via the UI to send to someone to share outside the Org.

 

Are the links accessible via APEX?