Question
Ordina
NL
Last activity: 6 Mar 2022 15:25 EST
Creating a pagelist from a delimited string with a function
Hi,
I'm trying to use a function that should convert a string with delimiters to a pagelist.
There is only one activity that uses this function in Customer Service, this is czFetchQueueLogin in PegaAppCA. The following syntax is used:
@cxPageListFromString(Param.match,DelimitedPage.pxResults,".StringVal1","@baseclass","/")
Where:
Param1 = delimitedInput (i.e. "A@email;B@email")
Param2 = PageList to be populated
Param3 = Property to be set in the pagelist
Param4 = pageClass
Param5 = delimiter
I tried the following implementation:
@CSUtils.cxPageListFromString(Param.ToAddress,TempPage.pxPages(ToAddresses).pxResults,".StringVal1","Embed-Services-InboundEmailInfo",";")
Where Param.ToAddress = "A@email;B@email" and the left side of the expression is a page parameter. The OOTB version also uses a page parameter at the left side. Does anybody have any pointers what could be wrong?
Kind regads,
Bas