Question

3
Replies
1839
Views
DipakR08 Member since 2017 8 posts
Accenture Solution Pvt Ltd
Posted: September 5, 2017
Last activity: October 16, 2018
Closed

How to call launchLocalAction JS API

Hi,

Pega has launched JS API for Pega 7.3. However we can use the same API from Pega 7.2.2 if we install Hfix DL-73599 .

We are using Pega 7.2.2 and installed the Hfix . However we are not able to call the local action using the JS API.

We did the following steps

- Created a custom section and added below code

<script type="text/javascript">

pega.api.ui.actions.launchLocalAction("LocalactionName","pega.api.ui.constants.MODAL_DIALOG","onload","Data-Portal","","","ModalTemplateName","","","","","");
</script>

- Added the above section in Header section of the Portal

But when user is logging in the localation is not getting triggred.

Any idea how to call the local action using the API.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

User Interface
Moderation Team has archived post
Share this page LinkedIn