0
Answer

Get the list item having highest number of versions created

Vipul Kelkar

Vipul Kelkar

11y
941
1
Hi,

Is there a way I can programatically fetch the listitem that has highest number of major versions created WITHOUT iterating through all the list items ?

I tried ORDERBY on the _UIVersionString column and set rowlimit to 1. Somehow I am not able to make it work, The query always retuns the first item and not the one with MAX versions