Question

1
Replies
29
Views
X

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 Interface Communications and Media Senior System Architect