Clear results
I'm working on simple search workflow everything is fine with workflow but when i search something in worflow it populates result accordingly and when i try to search in global search and get back to my workflow to search with other id now it show me two results one which i search first and new one. can some one help with there suggestions how to clear the old results.
0
-
Hi Aakash,
In your Select Features activity, try setting the Combine Mode property to "Geocortex.Workflow.Activities.CombineMode.Replace". This will replace the current feature set with the new one from your query.
I hope this helps!
Thanks,
Danny0 -
Hi Danny,
but in my case im query aganist two different map service and each has four layer because of that im passing empty select feature activity. in that empty select feature setting set up Mode property to "Geocortex.Workflow.Activities.CombineMode.Replace". its work fine i but when i try to search in global and get back to my workflow its showing two records.0 -
Try to specify 'CollectionName' on SelectFeature's activity along with Mode setting Danny suggests.
You will see what 'Collection Name' is for when you mouse-over on Collection Name label on the Workflow Designer.
It will add a new named colleciton when the result is rendered on the viewer, rather than using the default collection name. The results from Global search, and from Workflow and form identify have uses their own default collection name. You can add your own Colleciton Name to manage the results in that collection container.
I would suggest to declare a varaible such as 'COLLECTION_NAME' and set the value, and use 'COLLECTION_NAME' variable to put to the SelectFeature activity.
MG0 -
Thank you - MG
That works like a magic.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare