Add custom module to Web Viewer application
I have a Web Viewer application to which I added a workflow (5). The workflow contains a custom activity from which I would like to interact with the map. Therefore, I made the custom activity inherit from AppActivity. However, the map property is always null (as are the site and app properties).
Is this possible at all from Web Viewer applications? Am I missing something?
-
One of the guys here is looking into this more in depth. I do have a workaround for the time being and that is to potentially pass in the Esri map from the Get Map activity as an argument to your activity.
0 -
Hi Berend, I am the aforementioned guy looking into this, and we have found the issue and intend to address it in our upcoming GWV 5.1 release. After that release, the "map" property should be set properly on custom workflows.
We will not support the "app" property yet since we have not decided exactly which GWV object is the best equivalent for the original GVH app, but we intend to support it in a future release.
Since there is no equivalent object in GWV for the original GVH site, we will not be supporting the "site" property for workflows now or in the foreseeable future.
I hope that answers your question!
0 -
Perfect, thanks.
I'm curious, what will happen if the viewer contains more than one map?
0 -
Currently workflow does not support the use of multiple maps, so we just provide the first map in your application to workflow.
0 -
@Berend Veldkamp? Your curiosity is our engineering problem. :) We are still working out how applications with multiple maps and scenes can best interact with Worfklow ... in the meantime as Ian said we are providing the 'first' map to keep things moving.
0 -
Worfklow now has a Set Map activity that controls which map the workflow is targeting. https://docs.geocortex.com/workflow/latest/help/Default.htm#wf5/help/activities/set-map.htm
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
6 kommentarer