cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Phineas
Post Prodigy
Post Prodigy

Embedded PDF File Header Image

Is it possible to add the following to an existing flow that generates a PDF file from an SP List?

If yes, I'd like to try and use the 'output' as a data source in the flow html action (see below), as I've been unsuccessful using the image direct Url (the image is a SP Library) or SharePoint dynamic content (the image is in a 'Picture' column in the same list), for this purpose?

Phineas_0-1669316506254.png

Current HTML Compose:

Phineas_4-1669317010813.png

Current HTML Compose Raw Data:

Phineas_3-1669316963493.png

 


Current Created PDF File:
Phineas_2-1669316870564.png

 

 

 

8 REPLIES 8
StretchFredrik
Super User
Super User

I dont think you can point to a sharepoint image. Does it work if you change the url to a public one from google?

No.

I changed it to the following and it still didn't work.

Phineas_0-1669334988794.png

 

StretchFredrik
Super User
Super User

There is a /img at the end which doesnt look right. Please check your html and see if it works

This is the current code specific to the image being used.

Can you provide clarification/edit where you find error in the code?

<p>
<img src="https://xxxxxxxxx.sharepoint.com/sites/TestTeam/Test%20Document%20Library/BirthdayGirl.jpg" alt="Company Logo" width="100" height="100">
<p>

Ajinder31
Continued Contributor
Continued Contributor

Hi @Phineas , The above HTML code looks okay to me. Please make sure the url is also publicly available.

--------------------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Is this the setting you are referencing?

Phineas_0-1669358634005.png

 

Ajinder31
Continued Contributor
Continued Contributor

Hi @Phineas , I mean the url should be available to everyone not just organization without restriction for it work in PDF file. You can do a quick test by trying to open url is private window and it should open fine without asking to enter credentials.

Test failed; Credentials required to view.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (2,464)