Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
Can anyone tell me how I can access the value of UnpublishAt - does anyone know what the system alias is called for that and if its possible to call it from a razor script.
Many thanks
Paul
You have to use the ContentService to get an instance of IContent - this has ReleaseDate and ExpiryDate properties.
See https://our.umbraco.org/documentation/reference/management/services/contentservice
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
UnpublishAt Field
Hello,
Can anyone tell me how I can access the value of UnpublishAt - does anyone know what the system alias is called for that and if its possible to call it from a razor script.
Many thanks
Paul
You have to use the ContentService to get an instance of IContent - this has ReleaseDate and ExpiryDate properties.
See https://our.umbraco.org/documentation/reference/management/services/contentservice
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.