Question
Accenture Inc
US
Last activity: 26 Feb 2020 9:28 EST
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