Workflow Form doesn't open from JavaScript in Chrome and Edge
We have a workflow with a form which we open from JavaScript in our Site.
In our Site we added a feature-hyperlink to a layer which calls the javascript function: javascript:contact({ID});
The JavaScript function contact is in a tools javascript file and calls the RunWorkflowWithArguments command.
var contact = function (idnr) {
geocortex.framework.applications[0].commandRegistry.command("RunWorkflowWithArguments").execute({workflowId:'contact',id:idnr});
};
After loading the site in the HTML5Viewer, which also loads the tools javascript file, we see the hyperlink in the identify window. If we click the hyperlink in FireFox (version 82.02 64 bits) the workflow starts and the form is shown. If we click the hyperlink in Edge or Chrome we get the following error in the console:
[warning]: 09:25:12.931: Could not open 'javascript:contact(12345);': Invalid URI scheme.
Does anybody recognize this error and what can we do to solve it?
Luuk
0
Please sign in to leave a comment.
Comments
0 comments