Hi, this is driving me crazy.
I have a flow that I am getting an image from a SharePoint Column,
the flow goes like this(all thru the outputs, I can see my file name and it is correct)
in Get File Content from a SharePoint list , I am using this:
encodeUriComponent(replace(body('Parse_Image_JSON')?['serverRelativeUrl'],/sites/'MYSITE_GOES_HERE',''))
I can see the file name in my output:
{"fileName":"275f876e-41f1-47fa-a2c8-31fc44ecc063.jpeg","serverRelativeUrl":"/sites/MYSITE/SiteAssets/Lists/d7ef4c88-6cd9-4738-b02b-2e4ea6c5885f/275f876e-41f1-47fa-a2c8-31fc44ecc063.jpeg","id":"4a084b5d-2ac8-4a43-9960-260e82f1e615","serverUrl":"https://mymainsite.sharepoint.com","thumbnailRenderer":null}
When I actually look at MYSITE/SiteAssets/Lists/d7ef4c88-6cd9-4738-b02b-2e4ea6c5885f/275f876e-41f1-47fa-a2c8-31fc44ecc063.jpeg I can see the image and display it in the browser.
The only thing I can see is that the"serverUrl" is our main sharepoint and not my actual site....
I just don't know.
Help Please. Thanks!
Jim