Question

2
Replies
548
Views
RaviR054 Member since 2016 15 posts
ConEdison
Posted: 3 years ago
Last activity: 3 years 7 months ago
Closed

Mashup: Refresh the gadget on an action in a child window

I have the setup described below.

A Pega gadget as 5th tab in an existing modal page. The gadget's action is "dispaly". The harness displays list of work items and also a button, "create new work item". On click on New work item, we used open URL in window (doUIaction, createNewWork) to do some processing and create the work object, because of the space constraint on the existing modal window and 5th tab described above. Now the requirement is, the work items list on the harness should refresh automatically once I'm done with processing/ final button click on the window opened in Open URL in Window.

What's tried so far : window.location.refresh in a javascript, but it didn't work.

Ideas I have: probably the on custom event of gadget ? and in the customCallBack JS try the refresh gadget action. But I'm not sure how the custom call back works in general and specifically how to trigger this custom call back function only on a button click in the child window opened by Open URL in Window.

Could anyone help ?

Low-Code App Development Data Integration User Interface
Moderation Team has archived post
Share this page LinkedIn