You need to sign in to do that
Don't have an account?
pavan.elthepu1.392651269495206E12
Unable to save pdf from Javascript
Here is my requirement:
File is displaying if I browse: https://c.cs66.content.force.com/servlet/servlet.FileDownload?file=xxxxxxx
But if I'm browsing https://c.cs66.content.force.com/xxxxxxx, getting insufficient privileges error.
Also, [SELECT Id, Body from Attachment WHERE Id='xxxxxxx'] returning 0 records.
So, can anyone please help me how to get the body of these attachments?
- Have a custom button on EmailAuthor Page - Completed using Chrome extension
- On clicking this custom button send custom email - Working Great (Used JavaScript API)
File is displaying if I browse: https://c.cs66.content.force.com/servlet/servlet.FileDownload?file=xxxxxxx
But if I'm browsing https://c.cs66.content.force.com/xxxxxxx, getting insufficient privileges error.
Also, [SELECT Id, Body from Attachment WHERE Id='xxxxxxx'] returning 0 records.
So, can anyone please help me how to get the body of these attachments?