Question

2
Replies
141
Views
Siva_Tadikonda Member since 2016 10 posts
Legato Health Technologies
Posted: 2 years ago
Last activity: 2 years 9 months ago
Closed
Solved

Page recreating on launch of work object

I'm trying to customize recents section functionality for our application wherein all work objects should populate in the recents section once they are created or accessed from worklist or workbasket. For this purpose, created a repeat grid with source being a editable data page on thread scope. Data Source for the data page is an activity which fetches the required work object data from pyWorkPage. The refresh condition for the recents grid is set to whenever the pxUpdateDateTime on data page changes.

So, every time a work object is created or accessed, the data page is getting recreated and the existing data is being overridden. Even when the data page is existing on the thread, it is still erasing the existing data page and recreating it. Tried using a clipboard page instead of data page but the same result. Page is not persisting even though there is no Page-Remove method to remove any of these pages.

Also, tried doing a Obj-Browse over a temporary clipboard page of class System-User-Recents and copying the fetched data onto the required data page (replacement to fetching data from pyWorkPage). Yet, the pages aren't persisting.

Any suggestions on why such peculiar behavior exists for clipboard/data pages wherein they are getting removed even without removing them explicitly.

Low-Code App Development Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn