Is it possible to check whether a ContentReference is pointing to published / expired content or will I need to load the content to check?
The usecase here is that via the administration, the editors can choose links on a page which will be written via the Html.ContentLink(reference) extension. But I noticed that if the editor expires content, the link will still be created (and give a 404).
Is it possible to check without loading the content?
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
Hi.
Is it possible to check whether a ContentReference is pointing to published / expired content or will I need to load the content to check?
The usecase here is that via the administration, the editors can choose links on a page which will be written via the Html.ContentLink(reference) extension.
But I noticed that if the editor expires content, the link will still be created (and give a 404).
Is it possible to check without loading the content?
Regards