There’s a requirement to change the sorting in the attachments list in the Attachments widget. I’ve made the changes in D_AttachmentList OOTB D page and it’s source, but didn’t work.
Any suggestions?
There’s a requirement to change the sorting in the attachments list in the Attachments widget. I’ve made the changes in D_AttachmentList OOTB D page and it’s source, but didn’t work.
Any suggestions?
Hello @Madhumi_Munasinghe
Even if you update the available DPage /RD rules, the default sorting is setup in the internal DT rule after the results are fetched as shown below,
So unless, pega provides an extension point to customize the sorting logic, you will see the attachments sorted by the created time desc.
If you still wanted to show the attachments in a specific sorting order then you can create your own Tab on the case with a data reference table populated with the case attachments, if there is a strong business requirement for it to exist. You can apply grouping, filtering and other table features as well for better user experience.
Hope this helps
Regards
JC
Hi @JayachandraSiddipeta Thanks for your quick response.
Actually I don’t want this in a separate tab.
So do you mean as of now we can’t change the existing sorting logic in Pega as per our requirement?
Yes, till whatever i have noticed, that’s what it seems to be.
However, let’s hear from others as well if they have anything encouraging.
Regards
JC