Question

3
Replies
514
Views
Satyanarayana Murthy P (Murthy.1303)
Capgemini

Capgemini
CA
Murthy.1303 Member since 2015 12 posts
Capgemini
Posted: June 13, 2019
Last activity: June 13, 2019
Posted: 13 Jun 2019 1:53 EDT
Last activity: 13 Jun 2019 23:51 EDT
Closed

When the function is run and the pega.api.ui.actions.launchLocalAction(options); is executed nothing happens

Hi Guys,

I am trying to launch localAction using similar approach. Ignore the fact that localAction is configured on button click. It is just to test the function.

When the function is run and the pega.api.ui.actions.launchLocalAction(options); is executed nothing happens. I have console logs in place to see that function itself is getting fired.

Please advise.

<button onclick="myFunction()">Click me</button>
<script>
function myFunction() {
  var e = window.event;
  var options ={
    flowAction: "<SectionName>",
    displayMode: "pega.api.ui.constants.MODAL_DIALOG",
    event: e,
    flowActionClass:"<Class>"
  };
  
  pega.api.ui.actions.launchLocalAction(options);
  
}
</script>
User Experience
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.