Question

5
Replies
1419
Views
LEELABIRAM SRIRAMULU (LEELABIRAMS6337)
Lloyds Banking Group PLC

Lloyds Banking Group PLC
GB
LEELABIRAMS6337 Member since 2017 22 posts
Lloyds Banking Group PLC
Posted: July 30, 2019
Last activity: April 3, 2020
Posted: 30 Jul 2019 7:31 EDT
Last activity: 3 Apr 2020 7:44 EDT
Closed
Solved

Removing pxObjClass property

v7.3.1

We have a page with multiple properties to be converted into a JSON file i.e not in the context of a service/connect rule.

This conversion also retains the pega internal properties in the json specifically the pxObjClass property and we want to remove this from the file.

Gone through various articles and found this link for v7.2

https://community.pega.com/support/support-articles/using-pxconvertpagetostring-json-adds-pxobjclass-property

The resolution talks about removing the pxObjClass using the Page-Remove method before converting to json. However removing the pxObjClass property through the activity method or through the engine api's returns the same exception - UnmodifiablePropertyException.

Is there any easy way to remove the pxObjClass property from a json?

Pega Platform Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.