Question

6
Replies
138
Views
gopalakrishnuduM Member since 2015 6 posts
TCS
Posted: May 11, 2017
Last activity: May 29, 2017
Closed
Solved

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>",

"Body":"&lt;span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);"&gt;Hi Order Status Team,&lt;/span&gt;&lt;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;" /&gt; &lt;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;" /&gt; &lt;span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);"&gt;Could you provide me the status of my SO : 17116202 &amp;nbsp;&lt;/span&gt;&lt;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;" /&gt; &lt;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;" /&gt; &lt;span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);"&gt;Regards&lt;/span&gt;&lt;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;" /&gt; &lt;span style="color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 14px; background-color: rgb(236, 236, 236);"&gt;Customer abcd&lt;/span&gt;"}

***Updated by moderator: Lochan to add Categories; edited proprietary information***

Case Management Data Integration
Moderation Team has archived post
Share this page LinkedIn