I am trying to run a test workflow using essentials within Portal The error message is: "Application Experiencing Issues......". When I look in the console log, it states "The workflow could not be downloaded..". Is there something with my setup?
The workflow could not be downloaded: {command: "https://laser.kmc.nsw.gov.au/Geocortex/Workflow/designer/#workflow=b5e940f621294993b375c8ee4cb0bb39", userMessage: "The application is experiencing issues while performing this operation.", error: SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse (<anonymous>)
at Object…, activity: undefined}
-
Hi @Jeff Ashton? , looks like you have a workflow designer URL configured instead of a Portal/ArcGIS Online item URL. When you configure your viewer toolbar/menu to run the workflow, try setting it up using the URL from the Info panel, instead of the one from the browser:
0 -
Amanda
Initially I used the URL
https://laser.kmc.nsw.gov.au/Geocortex/Workflow/designer/#workflow=b5e940f621294993b375c8ee4cb0bb39
After receiving your message, I used
https://rapide.kmc.nsw.gov.au/portal/home/item.html?id=b5e940f621294993b375c8ee4cb0bb39
Then received the following errors
bundle.js:1 The workflow could not be downloaded: {command: https://rapide.kmc.nsw.gov.au/portal/home/item.html?id=b5e940f621294993b375c8ee4cb0bb39, userMessage: "The application is experiencing issues while performing this operation.", error: d, activity: undefined}
Any ideas?
0 -
Yes, that's the viewer getting stuck - it thinks this request should go through the viewer proxy, but the proxy's "allow list" doesn't have an entry to permit requests to that Portal. Try going to "C:\inetpub\wwwroot\Html5Viewer414" on the server, and opening proxy.config in a text editor like Notepad. You should find a bunch of entries in there for URLs of demo and ArcGIS Online resources. Copy one of the existing entries ie.
<serverUrl url="https://...." matchAll="true"></serverUrl>Then paste it to make a new entry, and update the URL part to your portal url, eg. https://rapide.kmc.nsw.gov.au/portal/
Then save the change and reload/retest in the viewer. You should only need that change once, and then all resources from that Portal should be allowed through the proxy in the future.
0 -
Thanks Amanda
That worked perfectly
0
Please sign in to leave a comment.
Comments
4 comments