cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to load HTML files in File Repository and add a link widget to display them?

Highlighted

Re: Is there a way to load HTML files in File Repository and add a link widget to display them?

@Duartefe,

 

All of the files on that location are accessible via hyperlink through the Thingworx REST API. You can find the URL by running the GetFileListingWithLinks service on the FileRepository thing. The URL format to access them is:

 

[http/https]://[thingnworxHostAddressAndPort]/Thingworx/FileRepositories/[fileRepositoryName]/[path/fileName]

 

In your case, it might be something like: http://localhost/Thingworx/FileRepositories/Repository/file.html

 

Hope this helps!