Geocortex Viewer: Running a Workflow with Arguments

المشرف العام

Administrator
طاقم الإدارة
I have a webpage with the Silverlight Geocortex Viewer embedded in it.

Through the browser's developer console, I can run commands through it such as

silverlightPlugin.Content.essentialsViewer.RunCommand("RunWorkflow", "demo1");However, I can't figure out how to run a workflow that has arguments. There's another command called "RunWorkflowWithArguments". Doing the following doesn't produce any results:

silverlightPlugin.Content.essentialsViewer.RunCommand("RunWorkflowWithArguments", {"workflowId":"demo2", "my_string":"test", "my_int":3} );The developer manual said:

Parameter:An object with the following properties: workflowId, and anamed property for each workflow argument.



أكثر...
 
أعلى