Is it possible to access secured URLs using the Download String activity?
Hello. I'm building a workflow that will have a combo box that contains all the reports that are available for a given layer. I want it to autopopulate, and was thinking I could grab the list of reports from the reports REST endpoint. However, the site is secured (Windows Integrated), and won't return anything without being authenticated. I see there is a Credentials option in the Download String activity. Is it possible to supply Windows login credentials to retrieve the url results (in a secure way)? If so, does anyone know how to go about building the credential?
Or is there a better way of approaching this?
Thanks!
Chris
0
-
I don't have an answer but I'm looking for the same information.
I posted a similar question a couple weeks ago and didn't get any responses. Hopefully, someone will respond to your question.0 -
I asked this question at the UC, and Latitude provided a solution in the Q&A document. Basically, you use a Get Request Info activity to obtain Geocortex.Workflow.Runtime.RequestInfo object. It contains a Token property. For the DownloadString activity, you append &token=<token> to your url. If you are using the Web Request activity, you can either put it in the url, or pass it as a parameter. Worked like a charm for me. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer