Question

2
Replies
293
Views
Rajendra Prasad Adepalli (RajendraPrasadA8799)
Social Security Administration

Social Security Administration
US
RajendraPrasadA8799 Member since 2019 2 posts
Social Security Administration
Posted: October 14, 2020
Last activity: October 18, 2020
Posted: 14 Oct 2020 12:43 EDT
Last activity: 18 Oct 2020 11:26 EDT

Unable to convert JSON string to page using function

I have a requirement to map a JSON string received from external application to a clipboard page. I am using @pxConvertStringToPage function where it is returning false and the page used in function is empty.

JsonString(Param.jsonData): {"sub":"user1@Example.com","user_name":"user1@Example.com","authorities":[],"iss":"https://Example.com","aud":"https://Exampledev.com","exp":1602693173,"jti":"kIan8rXRhBTtn4Nn","iat":1602691373,"nbf":1602691373}

Function: @pxConvertStringToPage(tools,TempPage1,Param.jsonData,"json").

Attached is the steps used to accomplish above requirement. Let me know if there are any additional ways that can be used to achieve this. End goal is to map the values in sub and user_name tags to clipboard properties

***Edited by Moderator Marissa to update Platform Capability tags****
Pega Platform 8.3 Data Integration