+6
Requested

Record and Classification Load Options for a single object

Luke Wilkinson 6 years ago in ADAM Core updated by Tim 4 years ago 1

Currently you can use load options for a collection of objects EG. RecordCollection, it would be great to have load options on a single Record or Classification as well, I have a current use case where I am dealing with a single record ID at a time in a custom maintenance job, I also know which fields I need to load but I have to use a record collection to load a single record.

API

This can be solved by using RecordCollection.Load(<searchexpression-for-specific-record>, loadOptions).FirstOrDefault();