This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SELECT MAX(INT_VALUE)

Hi Community, 

I'm implementing a search in VAF (C#) and was wondering if there is a handy way to get - similar to SQL - the highest number - of a Metadata-Card-Property-Int-Value of a group of certain documents

var searchBuilder = new MFSearchBuilder(env.Vault);
searchBuilder.NotObject(env.ObjVer.ObjID.ID);
searchBuilder.Class(MyClassId); //certain class
//something like
"searchBuilder.MaxValue(PD.PropertyXY);"

Or do I have to loop over all class-documents by myself and find the max by myself?

Thanks in advance

Best regards

Alex

Parents Reply Children
No Data