Skip to main content
1-Visitor
Jul 19, 2022 2:25 PM UTC
Question

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

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!

7 replies

22-Sapphire I
Jul 19, 2022 5:05 PM UTC

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?

Translate
1-Visitor
Jul 20, 2022 10:25 AM UTC

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.

Translate
22-Sapphire I
Jul 20, 2022 1:10 PM UTC

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.

Translate