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 https://community.pega.com/knowledgebase/pega-web-mashup-data-binding-syntax 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****