-
Notifications
You must be signed in to change notification settings - Fork 163
Description
[Question]
I obtained the provisioning template of my site using: Get-PnPSiteTemplate, and I have the xml for the Hero WebPart now as shown https://gist.github.com/derhallim/d5b2df22db30968de2a3e0d3fb1f79b5 Now I need to deploy this to multiple environments, however the images links are broken. I see that the link set to images looks like this:
https://{fqdn}/_api/v2.1/sites/{fqdn},{sitecollectionid},{siteid}/lists/{listid:Site Pages}/items/8B1977CE-5A74-4F10-A1CA-1B77E5E54F46/driveItem/thumbnails/0/c960x99999/content?preferNoRedirect=true&prefer=extendCacheMaxAge&clientType=modernWebPart
I replaced this link with something like this: {site}/siteassets/intranet/homepage/hero1.jpg where I have already deployed a file in that location. However it's still broken. How do we workaround this?