
Announcements
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