Question

Lloyds Banking Group PLC
GB
Last activity: 3 Apr 2020 7:44 EDT
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
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?