ExportResultsTo command parameters
I'm trying to add the ExportResultsTo (Results List Actions context menu) to the I WANT TO menu, but I don't seem to have my commnad parameter in the proper format. Can someone give me a clue to the proper format for the FeatureSetCollection i.e. "fsc:" "{{context}}" ?
{
"format": "xlsx",
"fsc": "{{context}}"
}
Thanks!
0
-
"fsc" stands for "FeatureSetCollection" which is its own class in the Geocortex.essentials.client.tasks library. In the context menu, the html5 viewer has access to the {{context}} token which I think is tied to a feature in the viewer so you won't have access to the token in the IWantTo menu, though I may be mistaken here (Latitude can chime in here please!). So you'll probably need to be running this command through a workflow after prompting a user for the point in which they are interested and then build that featuresetcollection from the features returned and get it into JSON which you can to use as that input parameter.. 0 -
Thanks for your response, Zack. You may very well be correct.
I did find a wonderful workflow in the code gallery that allows a user to export selected features to an excel/csv format (ExportSelectedFeatures.zip), so I guess it's all good. Thanks again for your time, though, I appreciate it!0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare