Question

2
Replies
594
Views
Close popover
Ravi Ramineni (RaviR054)
ConEdison

ConEdison
US
RaviR054 Member since 2016 15 posts
ConEdison
Posted: February 13, 2017
Last activity: February 15, 2017
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 Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.