Invoke a workflow from onClick event?
I'm not really a programmer, but I have seen in the .json files where I can change the onClick behavior in GVH 1.2.1; for example, from "InvokeMapTip" to "Identify". This is almost, but not quite what I want to do - I'd like to invoke a workflow that passes the geometry or the feature. Is that even possible? (Not much of a programmer in workflow, either.) Could I otherwise invoke from the Identify result in the results window?
Longer version: I have a buildings polygon layer which can spatially contain one or many address points. The address points have the data I want. While I've tried using a relationship (there is a link field), the result isn't pretty since I can't seem to customize the field names, visibility, etc. of the related table results. I thought maybe I could do a workflow that queries the address points contained in the building poly and returns their attributes (in a list like for related records) instead of the building poly attributes. Fewer clicks, too.
Any suggestions? Am I going off in the wrong direction?
-
If you do a data connection in REST Manager instead of a relate in the MXD, you have more control over your field names. 0 -
Thanks for the quick response. Is there a way to do a data connection to a feature class in a file geodatabase?
0 -
Good question... Probably not. You would most likely need to export out the attributes to a table of some sort like Access or SQL. Maybe you could if it were in SDE. 0 -
I am also using the address point feature class to run an address search workflow, so I don't really want to export it and manage two tables, and I don't have an RDBMS installed. Any other ideas? Even if this specific case won't work, I'm interested in whether a workflow can be launched from that event. Thanks.
0 -
Have you asked this question in the Workflow forum?
0 -
I haven't, but that's a good suggestion. I was going to see if it was possible, then post in the workflow forum about the mechanics of what I want the workflow to do.
0
Please sign in to leave a comment.
Comments
6 comments