AnsweredAssumed Answered

Customize URL in query results of WAB

Question asked by mhylden on Nov 3, 2015
Latest reply on Nov 5, 2015 by rscheitlin

I can see in WAB where i can flag the results of one of my fields as a link.  If the data in my features doesn't actually contain a URL, however, is there a way to put one of the fields into a format string so that I can build a URL based on it? 

 

For instance, if the feature returned has a field called docId and I want to pass that to an external URL that uses that in the query string to find a document, (ie end result is http://mydoclibrary.com/documents.aspx?docid=12345) how can I build that into my widget?  I know i could create a full URL field as a calculated field in the feature class and link that, but I'd rather not have to mess with the underlying data, as I don't strictly have control over that.

 

Thanks for any ideas,

 

Mikkel

Outcomes