Getting values for Publish At / Remove At fields using C#
Am I correct in thinking you can only access the 'Publish At' and 'Remove At' properties using the Document object - as shown below - rather than via the Node object like any other property of a node, if so why is this and does it involve a DB hit to get it?
Getting values for Publish At / Remove At fields using C#
Am I correct in thinking you can only access the 'Publish At' and 'Remove At' properties using the Document object - as shown below - rather than via the Node object like any other property of a node, if so why is this and does it involve a DB hit to get it?
e.g.
var doc = new Document(id);
ReleaseDate = doc.ReleaseDate;
Not sure what you are asking here, but can you not just do var releaseDate = new Document(id).ReleaseDate();
is working on a reply...