I know how to create text type property by Activity in this post https://support.pega.com/question/how-create-property-dynamically-run-time
base on that , I view the xml of existed PageList property , and add the following px-properties in my activity ,in order to create a page type property.
| pyPropertyMode = PageList |
| pyPageClass = xxx-xxx-Data-Test |
| pyDataObjectClass = xxx-xxx-Data-Test |
The Activity end successfully , But property doesn’t appear…
@yikaiz17254581
This could lead to maintenance issues in the long run, considering the properties will be created dynamically through an activity rule.
Please check this OOTB activity rule -pzCreateOrUpdateProperty referenced in pzCreateDataModel.
I hope this helps!
@RameshSangili tanks for your advice , I am going to try it now.
By the way,I forget to check [writenow] for obj-save…Today,after I check that ooption,the page type property was successfully created.
@RameshSangilithank you~ But I cannot find out where【pzCreateOrUpdateProperty 】is…could you please help。。。
@yikaiz17254581
Please find the attached screenshot for your reference.