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
Corey TenneyCorey Tenney 

Attachment showing binary data when clicking View File

Recently (Since Oct 2019) we have had a problem where pdf attachments show the "binary" data instead of the actual PDF. If we use the "Open in PDF Viewer" Chrome extension it opens fine, but directly from Salesforce, it does not.  I have scoured the web this evening and cannot find anything to help.  Ideas?

Using Salesforce Classic.

GauravGargGauravGarg

Hi Corey,

Can you remove PDF file and attach again. It works for me in Classic this morning. 
 

Thanks,

Gaurav
Skype: gaurav62990

Corey TenneyCorey Tenney
Yes if I remove and reattach its fine.  Obviously this isnt a solution to the problem though.
GauravGargGauravGarg

Hi Corey,

Installed this app exchange package in the org and update all your existing attachments into Salesforce files. This is a Salesforce Lab provided tool is free version and trusted. 

Magic Mover (https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EHAmyUAH)
Thanks,

Gaurav
Skype: gaurav62990