• Add Link Preview Web Part on page
  • Power Automate icon SharePoint Online icon
  • 0

How to add a Link Preview web part on a SharePoint Online page in a Power Automate flow.

This sample adds the web part to a oneColumn section on the page.

URI

Headers

Body

Screenshot with example

Below are a bit more details about the values used in this example. Hopefully that helps in configuring the right body payload.



PropertyValueDetails
displayLinkfalse
imageSourceshttps://live.staticflickr.com/65535/55053618908_f6ecd6db19_c.jpgimageUrl for preview image
linkshttps://www.expiscornovus.comlinks as key/value pairs in an array referencing the link
linkPreviewComponentMode2
minimumLayoutWidth2
openInNewTabtrue
searchablePlainTextsdescription & title keysKey/value pairs for the preview text
SiteIdcontoso.sharepoint.com,0b11c57d-ef88-46d7-9743-8e800c507595,af1a15c6-956b-4652-b8f8-869836e4e6eeVariable used in the Site Address
SitePageId1ff1d1eb-4d18-448d-82eb-156abb302da6Guid of the Page which will be updated
WebPartType6410b3b6-d440-4663-8744-378976dc041eaka Link Preview, 13 other supported Web Part types
addlinkpreviewwebpartonpage_flowsetup

Expected response

Will return the details of the updated page.

Copy/paste example

Resources

Update sitePage
Use the Link web part
supported Web Part types

That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.