Open feature details at end of selection workflow
I have a selection workflow that queries a parcel and stores the results in a feature set. I then want to open the feature details for that parcel, but when I try to use the ShowFeatureDetails command using the RunExternalCommand activity I get an error that says "There was a workflow error running activity: Exception has been thrown by the target of an invocation. The calling thread cannot access this object because a different thread owns it."
Can you open feature details from a workflow, and if so how?
0
-
I would also like an answer to this, i wish do select a feature and display its feature details from a workflow in an HTML5 2.4.1 viewer, any help would be appreciated. 0 -
This is what I have been using. you have to fill in feature description part in GHV
0 -
I added ShowFeatureDetails to the end of my workflow, but one of three things happens when i run it:
1. I get an error that says, "There was a workflow error running activity: Cannot read property 'get' of undefined."
2. The feature details view opens, but it's blank
3. The feature details view opens correctly (never happened the first time)0 -
Were you able to resolve this issue? I am seeing something similar and can't find a fix. Thanks! 0 -
I just tried Yinghong's method of running an external command to use ShowFeatureDetails with the collection name as the parameter, and it worked!
I don't remember if it worked before, but it's working in GE 4.6 and the GVH 2.70 -
I was using Yinghong's method but without declaring a variable to store collection's name, just tipying a string directly and i didn't work. It's fine using a variable!
Ciao0 -
can someone share how they are getting this to work? I see the screen capture that Yinghong shared BUT its no longer available. Any help would be great 0 -
Here's a screenshot. Basically you run your typical Query Task and Select Features, except you define the Collection Name in your Select Features and then use that as a command parameter to run the ShowFeatureDetails command. The If statement I'm using is just making sure that only one result was returned before I try to open feature details since it wouldn't make sense to try to open them for multiple features. 0 -
John this was awesome, works perfectly.. very much appreciated 0 -
Nice trick as always Nico, thanks! 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
10 Kommentare