Query Layer - service url
Hi. In my WF, I'm using a 'query layer' activity. I specify the url for the service I wish to query like this: "https://xxxxxx/ext/rest/services/COB_Utilities/CompletedRedlines/MapServer/0".
This is a GHV app. Also, I should say that the WF is launched in a unique way. I need to launch the WF via a url parameter, but only essentials WFs are supported for this feature, so the url runs an essentials WF, which in turn uses an 'external activity' command to launch the WF5 one which is failing.
The WF fails on the query activity, and in browser console I see that the html5 viewer url is being prefixed to my service url, thus creating an invalid url. See error msg below.
Unable to load https://gtxexternalpr.bellevuewa.gov/Html5Viewer/"https:/xxxxxx/ext/rest/services/COB_Utilities/CompletedRedlines/MapServer/0"/query.......
Any ideas what's going on?
-
Hi Zorba,
If your URL input on the query is:
"https://xxxxxx/ext/rest/services/COB_Utilities/CompletedRedlines/MapServer/0"
then try changing it to either:
https://xxxxxx/ext/rest/services/COB_Utilities/CompletedRedlines/MapServer/0
or:
="https://xxxxxx/ext/rest/services/COB_Utilities/CompletedRedlines/MapServer/0"
It sounds like it's reading the double quote as part of the URL. If that were the case, it wouldn't be detecting that it starts with https://, since it would start with " instead, and that could explain why it's acting like the link is relative to the viewer url.
0 -
Hi Amanda,
I switched it to ="https://xxxxxx/ext/rest/services/COB_Utilities/CompletedRedlines/MapServer/0". That indeed fixed the issue. Thanks.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer