Skip to main content
1-Visitor
July 19, 2022
Question

Sending Image from Repository (not download Link) to SharePoint List

  • July 19, 2022
  • 1 reply
  • 2291 views

Hello everyone,

 

we want to send images saved in a ThingWorx Repository to a SharePoint list. The service in itself works, however we have only achieved to send download links of the images (by using the service GetFileListingsWithLinks, column downloadLink), but not the image itself. 

 

HD_10225728_0-1658240419298.png

We were wondering if it is possible to generate a link that doesn't automatically download the image, when the link is pasted in the browser? Has anyone ever achieved this? Is this technically even possible? 

 

Thank you so much!

1 reply

22-Sapphire I
July 19, 2022

The click on link being an automated download, is browser behavior I believe.

If you are trying to send the actual image, you might be able to use 'LoadImage' and potentially send that to Sharepoint?

1-Visitor
July 20, 2022

Thank you for the reply. We are using JSON.stringify to send the data to SharePoint, so sending the image itself is as far as I know not possible.

22-Sapphire I
July 20, 2022

Would your sharepoint page allow for a 'display' image based on link on the page?

I'm not an expert in sharepoint so I am not sure if it can be used like a 'webpage' and show image based on url.