Not able to set checkbox value while generating Eform in pega
Hi,
My requirement is to prepopulate a pdf template and download it to user's local machine. To achieve this I have created a Eform rule and in an activity (calling on click of a button) setting the desired properties, generating the Eform and finally calling Code-pega-pdf.View to download the pdf file to the local machine.
But I am facing an issue in setting the value of a checkbox to "true" in the template. In the map Eform rule I have set the pdf field to .pySelected and in my activity set .pySelected to true. But when the file is getting downloaded the checkbox field is not ticked/true, as per my logic whereas all other properties are getting set as needed.
***Edited by Moderator Marije to add Capability tags***