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
Alejandro GarzaAlejandro Garza 

Google Drive Images integration working in HTML, problems with PDF

Hello,, 

We have successfully integrated Google Drive with Salesforce through Server to Server authentication using JWT. We get the images' URL through the files.get service, using the 'webcontentlink' field, and this allows us to display images in a Visualforce page rendered as HTML without any issues. However, when we attempt to add the renderAs="pdf" attribute, the images no longer display correctly. 

We have already added the corresponding URLs to the Remote Site Settings, this process works perfectly for other external images rendered in PDF, but it is not working for this specific case. Please help.