Posted: 15 Mar 2016 4:40 EDT Last activity: 6 Apr 2016 13:49 EDT
Refresh a section in work object harness from another window
I am using a repeating grid with source as a Report definition, used pxLink control for one of the column and configured on click "Open URL In New Window ", which executes an activity with a step show-html method and opening a new custom form with save button, which adds an attachment on click of save. In Saving activity am using another show-html method to display a simple success message. My requirement is to refresh the attachments section in wo form.
I tried pega.u.d.reloadSection js function in html method, but it is not helping me. Any suggestions on how to proceed?.
As the events run one by one and cannot wait for other event to complete except for Local Action. whatever refresh suggesting above will be done at the time of open url in window itself. So when the window is getting closed refrsh event will not execute again.
Posted: 6 years ago
Posted: 6 Apr 2016 13:49 EDT
Padmanabhan Kasiraj (PadmanabhanK)
As Raviteja told it will wait for the other scripts to execute, We can have refresh other section in click of save button which u had for attaching to the Work Object. In your process do small change for run activity and refresh other section using pega.u.d.reloadsection and then show-html. to display the popup.