Close a form from an external activity
I have a Dynamic External Activity which opens below the map in the ResultsRegion. Now I would like to close the form from the External Activity but I cannot get it to disappear from another workflow with the ConfigureWorkflowContainer Activity. Is there another to close this form?
Thanks for your help.
Luuk
0
-
I solved it with the answer from John Nerge in Michael Bishop's question "Close workflow results in data region".
I added a RunExternalCommand in the workflow that closes the Dynamic External form with the Command "DeactivateView" and the parameter being the Id from the External Activity form which was added in the modules section of the Desktop.json.js.
I added the module configuration for my Dynamic Activity (based on an example which can be found in the support site) which I copied from my desktop.json.js.
{
"moduleName": "CustomForm",
"moduleType": "quickStart.customform.CustomForm",
"libraryId": "CustomForm",
"configuration": {},
"views": [
{
"id": "CustomFormView",
"title": "Wijzigingen",
"viewModelId": "CustomFormViewModel",
"visible": false,
"markup": "Modules/CustomForm/CustomFormView.html",
"type": "quickStart.customform.CustomFormView",
"region": "ResultsRegion",
"configuration": {}
}
],
"viewModels": [
{
"id": "CustomFormViewModel",
"type": "quickStart.customform.CustomFormViewModel",
"configuration": {}
}
]
},0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar