Discussion
Morgan Stanley
IN
Posted: Oct 22, 2020
Last activity: Nov 6, 2020
Last activity: 6 Nov 2020 16:36 EST
Accessing property values from non- autogenerated HTML File to pega and vice versa
In below code, the input field in the HTML section is referring to the pega property FirstName in pyWorkPage clipboard page. While the default value present in the input field is from FirstName property from UserData Page.
<input style="background-color:#d5d0ff" type="text" id="fname" name="$PpyWorkPage$pFirstName" value="<pega:reference name='UserData.FirstName' mode='normal'/>">
**Define Page Name (UserData) in Pages & Classes.