Question
TCS
IN
Last activity: 29 May 2017 3:28 EDT
adoptJSONObject is not supported for html tags
Hi, I have email content that needs to be parsed received via rest connector. I am using pxConvertStringToPage to convert the content but this is not supported for html content. Below is my request content, here body is in html format. getting content not supported exception "Exception occurred while adopting data onto the target page"
{"CaseID":"O-4253",
"To":"gopal@Pega",
"Sent":"Apr 26, 2017 10:02:05 AM",
"FromAddress": "<fromemailaddress>",
Hi, I have email content that needs to be parsed received via rest connector. I am using pxConvertStringToPage to convert the content but this is not supported for html content. Below is my request content, here body is in html format. getting content not supported exception "Exception occurred while adopting data onto the target page"
{"CaseID":"O-4253",
"To":"gopal@Pega",
"Sent":"Apr 26, 2017 10:02:05 AM",
"FromAddress": "<fromemailaddress>",
"Body":"<span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);">Hi Order Status Team,</span><br style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; -webkit-tap-highlight-color: transparent !important;" /> <br style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; -webkit-tap-highlight-color: transparent !important;" /> <span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);">Could you provide me the status of my SO : 17116202 &nbsp;</span><br style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; -webkit-tap-highlight-color: transparent !important;" /> <br style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; -webkit-tap-highlight-color: transparent !important;" /> <span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);">Regards</span><br style="box-sizing: border-box; color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; -webkit-tap-highlight-color: transparent !important;" /> <span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);">Customer abcd</span>"}
***Updated by moderator: Lochan to add Categories; edited proprietary information***