I have a requirement to get the top 3 documents list which are larger in size in a KC.
I was a able to get the complete list with getfileslargerthansize() but doesn't know how to get top 3 documents onlly.
Can anyone please help. Thanks in Advance
Discussion posts and replies are publicly visible
Create a list of maps with two fields each. The document and the size. Then use todatasubset to sort by size and set the batch size to 3.