Question

1
Replies
131
Views
Hari Suresh Babu Gummadi (HariSureshBabuG7076)
Accenture Inc

Accenture Inc
US
HariSureshBabuG7076 Member since 2018 4 posts
Accenture Inc
Posted: February 26, 2020
Last activity: February 26, 2020
Posted: 26 Feb 2020 0:55 EST
Last activity: 26 Feb 2020 9:28 EST
Closed

pega.api.ui.actions.launchLocalAction is not working

I am using below code to launch a local action to show modal dialog on onload but its not working .

 

Let me know if i am missing anything in code.I am not seeing any errors in console.

 

<script>  pega.u.d.attachOnload(function()  {  

 pega.api.ui.actions.launchLocalAction({   flowAction: "OnLoadBehaviour",   displayMode: pega.api.ui.constants.MODAL_DIALOG,

flowActionClass: "VZ-CMC-Work-XXXX",

contextPage: "pyWorkPage",     skinFormat: "Standard",

template: "pzModalTemplate"

}); } );

</script>

 

Will Cho   @MURTHY1303  

Pega Platform 8.3.1 User Experience Communications and Media Senior System Architect
Moderation Team has archived post, 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.