Note - it appears that the Excel template doesn’t take parameterized data page. One workaround is to use a Page-Copy step to copy from the data page [parameter] to a temporary activity page, which then can be used in the Excel template. E.g. {MySampleDataTypeListFiltered.pxResults().pxCreateDateTime}
Upload the Excel template file as a binary file in Platform.
@Will Cho How to handle parameterized data pages for excel functionality, let’s say based on the parameters for my list data page, the result count will vary.
@LuizFranciscoC If you are asking about changing Excel template dynamically, i haven’t done it before. This article is related to an Excel template pre-uploaded to Pega Platform in advance.
Regarding the property mapping, you can refer to this screenshot for a sample mapping. You will enter the property name directly inside {}.
@AkshithReddyT In Step 2 above, I’ve documented the following. Have you tried this? I think I’ve also faced an issue when using parameterized data page directly in the Excel template. But, when i first copied to a clipboard page (MySampleDataTypeListFiltered), which was then used in the Excel template, it worked fine.
Note - it appears that the Excel template doesn’t take parameterized data page. One workaround is to use a Page-Copy step to copy from the data page [parameter] to a temporary activity page, which then can be used in the Excel template. E.g. {MySampleDataTypeListFiltered.pxResults().pxCreateDateTime}
@KrushanthanR i tried a pagelist of pagelist structure and it didn’t generate an Excel file. If there is an embedded pagelist of another pagelist, that is like inserting a list inside each Excel cell which i haven’t seen in Excel. For now, i’m assuming that we can map only one level of pagelist to Excel.
@Will Cho Thank you so much for your reply. I tried it on my end, and as you said, it’s not recognized in the output file. Looks like I need to find a workaround for this. Once again, thank you for checking.