Question

1
Replies
898
Views
Gerg?T70 Member since 2016 22 posts
Saltech Consulting
Posted: October 17, 2017
Last activity: October 18, 2017
Closed

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.

User Interface
Moderation Team has archived post
Share this page LinkedIn