Is there a way to Close a widget ? There's an Open Widget activity for web Appbuilder, how would one close a widget?
I use a Show Results activity in my workflow and when I exit out of a display form, I want to be able to "reset" the viewer to its initial extent and display, which sort of happens but the attribute table remains open. Is this expected? What am I missing?
Thank you!
-
I had this same issue. Here is the workaround that I used:
1) Add a Publish Widget Data activity to the part of the workflow which should trigger the widget close.
2) Set the data input to something that is specific enough to close that widget only (e.g. ={action: "closeComments"})
3) Add some code in the onReceiveData function for the widget you want to close which will close it, for example
if (data.action== "closeComments"){
PanelManager.getInstance().closePanel(__WIDGETID__);
}
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar