Skip to main content
1-Visitor
January 18, 2019
Question

How to store URL into Infotable?

  • January 18, 2019
  • 9 replies
  • 4051 views

Hello,

 

I am having 2 columns i.e. name, and Download URL.

I want to store both values into Infotable.

so I created a datashape with fields . name (String) , downloadURL(hyperlink)

 

But, when I store values into Infotable ,only name get inserted , URL is not getting inserted.

 

why this happens?

9 replies

5-Regular Member
January 21, 2019

I tried with same datashape and test with a www.google.com url, also failed. The Hyperlink recorded it as /Thingworx/MediaEntities/www.google.com, it's looking for an internal resources and that's why it doesn't work.

 

You should input the url as http://www.google.com, now it could get external access

1-Visitor
January 21, 2019

@zyuan1  I am using a already defined method, I don't need to pass URL as input.

But , the output I get is also A URL. When I store the output in a variable and display it , it gives exact output.

But, when I pass the output to InfoTable , their I don't get output.

 

 

Output I get is :

http://gt034.galaxy.com:90/Windchill/servlet/WindchillAuthGW/wt.content.ContentHttp/viewContent/tank_drw.pdf?u8&HttpOperationItem=wt.content.ApplicationData%3A586480&ofn=tank_drw.pdf&ContentHolder=wt.viewmarkup.DerivedImage%3A586468&forceDownload=true

5-Regular Member
January 22, 2019

The result URL works in a Link widget but not on a Grid widget, is that what you mean?