Hi ,
Using any Data Page DX API, is it possible to send pagelist value as JSON in a parameter to data page which is invoking connector from data page ?
Hi ,
Using any Data Page DX API, is it possible to send pagelist value as JSON in a parameter to data page which is invoking connector from data page ?
@Mayurk33 Yes you can. See the implementation done in the CDM (slightly different, but they use json to pass data into the DP.)
I am trying to use OOTB DX API of data page for invoking connector , if we try to pass the array of JSON object (page list) it gives the error of erroneous output as Pega validates each param in the JSON against param defined on data page. As it’s page list we certainly won’t define the attributes in it as param.
Is it the same use case in CDM ?
Only accepting param’s which are defined in the Datapage is a feature, not a bug. You can pass a pagelist as a single json-formatted string and that do something with it, but sorry to say, I don’t see any use-case for that requirement.