how to pass featureset as {{context}} to workflow
Noticed in the Desktop.json how the Export Result To shp/xls/csv set up by passing the selected features as command parameter. I’m wondering what exactly the {{context}} is in this case, and if it’s possible to pass it to a workflow? What type of workflow argument can take this {{context}}? Thanks.
{
"text": "@language-menu-export-results-to-xlsx",
"description": "@language-menu-export-results-to-xlsx-desc",
"iconUri": "Resources/Images/Icons/Toolbar/xlsx-export-24.png",
"hideOnDisable": true,
"command": "ExportResultsTo",
"commandParameter": {
"format": "xlsx",
"fsc": <b>"{{context}}</b>"
}
0
-
I think that the value of {{context}} changes depending on where it's called from, and it can indeed be passed to a workflow. I don't know much more about it than that, except that I've used it to get x,y of a right-click before.
You may already have seen these, but if not here are some threads about the mysterious creature:
"using {{context}} in HTML5 viewer" (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=90660000000TS8hAAG)
"Add workflow to context menu" (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=9066000000006NFAAY)0 -
Thanks Zack. I wasn't able to find using {{context}} in HTML5 viewer (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=90660000000TS8hAAG) which is the same question I have. Thanks. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer