Question

5
Replies
993
Views
LEELABIRAMS6337 Member since 2017 19 posts
Lloyds Banking Group PLC
Posted: 1 year ago
Last activity: 5 months 2 weeks ago
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
Share this page LinkedIn