web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add an image (webpart)...
Power Automate
Unanswered

Add an image (webpart) to a SharePoint Page

(0) ShareShare
ReportReport
Posted on by

Hello everybody,

 

So what i want to do here is, I want to add an image to a SharePoint web page.

I think I'm almost there but there's a problem, so I found out that we can add a webpart by using the api of SharePoint, so I sent a POST request of to save as draft the page with the body containing the code (html embedded in json), but there's a unique ID linked to the image and I can't figure out how it was generated, I put a random value and it seemed to work but when I used the edition mode in SharePoint, the image webpart that have been added was displaying an error message.

 

So my question is, do you know what I've been missing maybe, to correct that issue.

 

If you want more explications, feel free to ask me, It may not be very clear😅😅.

 

Thank you,

 

Yass

Categories:
I have the same question (0)
  • SrFedericc Profile Picture
    2 on at

    Hello, i have the same issue, could you fix it ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard