ShowFeatureDetails in Workflow
I'm not able to find an effective command parameter for the wokflow activity ShowFeatureDetails in a workflow. I've tried passing the featureset collection id as documented in the admintrator guide, but I get the same error as if I execute the command with no parameter. I've also tried the ID f the featureset itself with the same result. Can amyone provide some guidance on what exactly the activity is expecting to be passed as a parameter.
-
Hello Sean,
What version of Essentials are you running?
0 -
I'm running Essentials 4.1.1 with the HTML5 2.2 template.
0 -
Can you please post the error that appears?
0 -
The error returned is:
There was a workflow error running activity: Cannot read property 'get' of undefined
0 -
Hello Sean,
I was able to reproduce this error and discovered how to use the ShowFeatureDetails command.
What I was able to do to was use the SelectFeatures activity to specify a feature set with a custom collection name. This allowed me to use the ShowFeatureDetails command with the custom collection name I previously specified to reference that feature set.
Hope this helps,
Michael
0 -
That's what I'm doing when I get this error. I use the SelectFeatures activity and specify a custom collection name. I pass the custom collection name to the ShowFeatureDetails activity and get the error I posted.
What else am I doing wrong?
0 -
Hello Sean,
When using the SelectFeatures activity, you need to specify a Map Service Id and a Layer Id as well as a Feature Set and a collection name. When I used the ShowFeatureDetails command, I used it directly after the SelectFeatures activity and that worked for me. Remember that the command and command parameter both need to be in quotes in the run external command activity.
0 -
DOH!
I was using a variable, but not providing a value for the varialble. No wonder it behaved as though no parameter was being passed!
It works the way it is supposed to work.
Thanks for the help.
0 -
I still can't get this to work. Is there any way you could share your workflow? I put in the collection name in the SelectFeatureSet and then use it for the ShowFeatureDetails. The viewer's log gives an error about no feature being present. Everything else in the workflow works fine: it queries, selects, zooms to the feature and puts a pushpin. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
9 Kommentare