function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Salesforce 283Salesforce 283 

​How to overcome "Failed to Load PDF Document in google chrome?

Hi Guys,

When i click on custom button it will generate the PDF file and insert into attachments. So when i was trying to open the file it was showing  "Failed to Load PDF Document" but its working in firefox. So could you please help me out this problem and find out the attachment.User-added image

salesforce mesalesforce me
can u open this mozilla firefox.
Salesforce 283Salesforce 283
Hi, Yeah, i can see and open file in mozilla firefox.
Jayson Faderanga 31Jayson Faderanga 31
try to you check your google chrome pdf plug in.. if it isn't up to date..try to have it updated.. :D
Parteek Goyal 3Parteek Goyal 3
Salesforce 283Salesforce 283
Hi Parteek, I already did that. I went to chrome plugins and disable the chrome PDF viewer it came. But instead of this, is any other way. Thanks, Mahesh.
Salesforce 283Salesforce 283
Hi Guys, I got it. Actually i wrote content type in attachments as 'pdf' that modified into 'application/pdf' it has come. Thanks, Mahesh.