Pega speciality component get and set property values on the primary page from the client (via javascript)
Hi,
Could somebody help me with the following, please?
In a speciality component, I would like to get and set data from the page that was specified as the primary page for the component.
--- What I have done, could achieve:
The provided tutorials (slider and autocomplete did not help me with this).
What I have found: I can reach property values from the primary page via java:
// returns the value of the property .pyLabel on the primary page
tools.getPrimaryPage().get("pyLabel")
I haven't found a way to set the value of a property on the primary page from frontend code.
I would really appreciate your help on this.