Skip to main content
12-Amethyst
July 2, 2019
Solved

Link Widget - SourceURL - Thingworx Service

  • July 2, 2019
  • 4 replies
  • 1713 views

Hi All

Would like to assign a source URL to Link widget by Thingworx service. Can you please let me know how to access a Link widget and its properties from Thingworx service. 

 

Appreciate your help.

Thanks.

 

 

Best answer by slangley

Hi @nmohammed.

 

You would actually need to bind the output of the service to the link widget's source url binding target.  The service would use the needed logic to generate the url and output it as a string.  Make sure the result is bound to the link widget as SourceURL in the mashup.  Also make sure the url is complete and includes the protocol, domain, path, etc.

 

If you have any problems, please let us know.

 

Regards.

 

--Sharon

4 replies

slangleyCommunity ManagerAnswer
Support
July 2, 2019

Hi @nmohammed.

 

You would actually need to bind the output of the service to the link widget's source url binding target.  The service would use the needed logic to generate the url and output it as a string.  Make sure the result is bound to the link widget as SourceURL in the mashup.  Also make sure the url is complete and includes the protocol, domain, path, etc.

 

If you have any problems, please let us know.

 

Regards.

 

--Sharon

nmohammed12-AmethystAuthor
12-Amethyst
July 2, 2019

Thanks for quick reply. Appreciated.

I cannot bind the service at this moment. Am looking for method that will allow me to access link widget and assign a value to soureURL property when I run a service manually during deployment. 

Example: Groups["IIOT_Admin"].AddMember(params); Am looking similar methods to access it.