Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

How To Add Data Class Instance To Recent List

SA-12151

Summary



As per the following article, I understand that work class instances and rules will be added to the recent list.

https://pdn.pega.com/user-interface/displaying-a-list-of-recent-items-in-your-application

How can I add instances of data classes (classes that inherit Data-) to the recent list?
I have tried adding data class instances by calling activity @baseclass.pxRecents with parameter "upsert", but to no avail.



Resolution



The document here https://pdn.pega.com/user-interface/displaying-a-list-of-recent-items-in-your-application talks about setting @baseclass.pxTrackThisDocument property on the harness of the data instance to enable their listing in recents.

There are  many instances of this OOTB - for example SpellChecker properties (Data-SpellChecker-Properties) get added to recents when opened. Easiest among all - the operator profile(Data-Admin-Operator-Id) gets added to recents on open. Activity @baseclass.pzGetOperatorProfile in this request sets the pxTrackThisDocument property to true.

Published July 15, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us