How to add a Bing Maps 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.
| Property | Value | Details |
|---|---|---|
| center | 52.090979680576176, 5.121367144797671 | coordinates for the center of the map |
| isTitleEnabled | false | |
| mapType | road | aerial, birdseyeV2, road or streetside |
| maxNumberOfPushPins | 1 | |
| pushPins | 52.09064865, 5.12159491 | coordinates for the location of the push pin |
| shouldShowPushPinTitle | true | |
| SiteId | contoso.sharepoint.com,0b11c57d-ef88-46d7-9743-8e800c507595,af1a15c6-956b-4652-b8f8-869836e4e6ee | Variable used in the Site Address |
| SitePageId | 3ae328e1-50f5-472e-b9e3-67fa45e172b0 | Guid of the Page which will be updated |
| WebPartType | e377ea37-9047-43b9-8cdb-a761be2f8e09 | aka Bing Maps, 13 other supported Web Part types |
| zoomLevel | 12 |
Expected response
Will return the details of the updated page.
Copy/paste example
Resources
Update sitePageUse the Bing Maps web part
supported Web Part types
That’s it, Happy testing!
