Pega autogenerated UI is loading HTML into an existing window, so a window load event is not going to trigger as part of refresh section. Can you just call the function as part of the same auto-generated action that is causing the refresh section?
I think if you were to remove the for and event attributes this might also start to work, but I'd probably recomend calling the function directly.
Posted: 2 years ago
Posted: 3 Dec 2019 18:32 EST
Susan Liu (SusanLiu_GCS)
Senior Principal Engineer, Technical Support, Runtime Engine