Event listening for “ResultsTableFeatureClickedEvent”
Hi all
I have a viewer where I want to open the Map tips from the Table.
I have managed to do it by adding a menu item in the context menu and running the command “ShowFeatureDetailsFromMaptip”. But I would like this to be activated by just clicking on one row in the table. In my attempt to accomplish this I have created a workflow 4 event listener. I’m listening to the "ResultsTableFeatureClickedEvent" and then I try running the RunExternalCommand ("ShowFeatureDetailsFromMaptip") but this isn’t working.
[error]: 14:40:42.843: ShowFeatureDetails: Could not execute command. No feature found.
Could anyone give some advice on how to procced?
Cheers
Johan
0
-
Hi Johan,
Are you collecting the Feature argument from the ResultsTableFeatureClickedEvent and passing that to the ShowFeatureDetailsFromMaptip command?
If you are, and you still get this message, then the command may not be runnable from Essentials Workflow. The Feature might be getting converted into an unrecognizable object as the scope is exchanged from server to client.
Regards,
-Malcolm0
Please sign in to leave a comment.
Comments
1 comment