I call CommunityCommons.refreshClass in an action button microflow in a pop-up window, but the client doesn't refresh the objects on the responsive page. The Network tab shows that the button microflow was the last request. The Response tab shows that the instructions are in place. So what can be wrong? "instructions": [ { "args": { "MessageContent": "Manuscript review task skipped & Production Initial Task Started. for Edition: editionId:-200, mxId:31525197391593473, title: e111 ", "MessageBlock": true, "MessageType": "info" }, "target": "system", "type": "text_message" }, { "args": { "NumberOfPagesToClose": 1 }, "target": "system", "type": "close" }, { "args": { "classnames": [ "BookPlanningMain.BfluxExportItemHelper", "BookPlanningMain.Edition", "BookPlanningMain.Rendition", "BookPlanningMain.Event", "BookPlanningMain.BfluxExportHelper" ] }, "target": "system", "type": "refresh_class" }, { "args": { "ObjectIds": [ "439663913622045978", "432345564227568922" ] }, "target": "system", "type": "refresh_object_list" } ]
asked
ilya basin
1 answers
2
Hi Ilya,
CommunityCommons.refreshClass updates the cache but doesn’t refresh UI widgets automatically.
You need to explicitly refresh or reload the widgets on the main page after the popup closes.
Use a nanoflow on the parent page to refresh widgets or re-execute data sources.