Giuseppe Acuto (Giuseppe)
Knowledge Expert SA

Knowledge Expert SA
Giuseppe Member since 2018 6 posts
Knowledge Expert SA
Posted: April 10, 2019
Last activity: April 15, 2019
Posted: 10 Apr 2019 11:04 EDT
Last activity: 15 Apr 2019 6:23 EDT

How to pass parameter to mashup using value from HTML

Hi folk,

I'm currently working on a pega mashup to put in a portal in order to expose our application.

The mashup work fine, the problem is that we have to pass a parameter value (coming from the HTML page) to filter some data. All was fine when we hardcoded that value inside the mashup (let's assume the parameter name is ContractID) with the following line:

data-pega-action-param-parameters="{pzSkinName:'AppSkin', ContractID:'0123456789'}"

Now what I want to do is to dynamically take this value from a form displayed in the same page of the mashup. After reading this page I tried to use the syntax [page/id/elementID] putting as elementID the id of the div I'm interested on:

data-pega-action-param-parameters="{pzSkinName:'AppSkin', ContractID:'[page/id/ContracID]'}"

But this is not working and actually the parameter passed is empty.

Do you have any suggestion on how to do it?

***Edited by Moderator Marissa to update platform capability tags****

Low-Code App Development 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.