Hi, anyone knows how to sort the list of attachments in Pega?
I tried overriding Pega’s OOTB sorting by using the post activity pyProcessCaseRelatedContent, but still no result.
Hi, anyone knows how to sort the list of attachments in Pega?
I tried overriding Pega’s OOTB sorting by using the post activity pyProcessCaseRelatedContent, but still no result.
Try overriding the sort logic within Report Definition - pyGetAllAttachments that is invoked from the data page **D_AttachmentList.
**
I have tried this and it works for Theme Cosmos applications.
OOTB sorting is enabled on the attachment date/time so the recent most is on the top.
Thanks for your response.
But changes to pyGetAllAttachments RD didn’t help me.
Can you trace while loading the attachment section to find which Data Page/RD gets invoked?
Yeah it’s D_AttachmentList only. Should the RD changes be in a ruleset to reflect the changes? (I mean not in a branch)
That is correct, the changes should be picked at run time and the results should be visible. Please trace during execution to check with version of the RD is being invoked.