When we give a response as a Page on, Pega converts the property name as a tag and is surrounded by “”, and value also in between “”. eg: response.pyFirstName = suresh. then response like { “pyFirstName” : “suresh”}.
so if I want a tag like FirstName, so it has become obvious to create a property in that class, I can’t achieve re-usability. Instead of property-name can we pass the label of the property as a tag?
Hi @SureshP16655111: Can you try to add property qualifier “pzExternalName” to your required properties and check? This would hep to have a JSON attribute in different name other than the property name.
@SureshP16655111 we have followed the below approach. We get the fields to be displayed in UI from real time kafka data flow and these fields have to be sent to API. So these fields are dynamic. So we created properties programmatically in the backend if it doesn’t exists.