Query is something like
This worked in a SP Root site:
OData__UIVersion was the exact number of versions.
But in a subsite (the same SP), for a file with just one version,
OData__UIVersion is 512…
Next, I discovered the other field:
owshiddenversion; This one seems to really return the correct value: the number of versions of a file.
Does anybody know what’s the official definition of these 2 fields ?
Is it safe to rely on
owshiddenversion to determine how many versions a file has ?