How to : Keep a workflow 5 Query results as a Geocortex Mobile Search History ?
I'd like to be able to keep the result of a Query Layer Activity run in a workflow5 as a Search History Item in Geocortex Mobile. Is there a way to to it ?
I tried with a "tasks.search" command but then I failed to properly enter the SearchArgs.
Any help appreciated !
-
Hi Guilaume,
I can see two options for you. Either:
* Publish the "search.started" event using the Publish Event activity. The arguments have this shape:
{
"searchText": "Your text goes here"
}
or
* As you indicated, use the "tasks.search" command. The arguments have this shape:
{
"searchArea": Geometry,
"searchText": "Your text goes here",
"maxResults": 50, // Or whatever you want
"maps": [$map1.map.mapExt]
}
I hope that helps.
Jeff
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire