Is there a way to implement "Can I Execute" functions without writing custom Viewer code.
After a user has selected a feature or some rows, we want different workflows available based on what Map Layer it is from.
Currently i do this by wrapping the Workflow call with a custom command defined in the Viewer, and then implement the Can I Execute method.
It would be nice if you could define a CanIExecute method either as part of the same workflow, or maybe in the RestManager when you define the button/tool/context menu item, you can define a workflow to use as the caniexecute method?
-
Ryan, AFAIK this is still not available in the Geocortex Viewer. I would suggest adding this to the Ideas.
It sounds like you have some custom code. We wrote something similar about 3 years ago and the code is on Github. You are welcome to use it for reference or in whole. It may need some alterations based on your use case.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar