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
I have set Unpublish dates in the CMS yet pages still show even when I use isVisible.
If I manually Unpublish a page it disappears.
How are you rendering the pages?
Maybe some cache?
There could be a number of issues causing this, and the solution therefore depends a bit on the exact error.
When you watch the page in the backoffice, does it say that it has been unpublished? Or does Umbraco say that it is still published?
If the latter, it is most likely because the internal scheduled (un)publishing in Umbraco for some reason doesn't work.
How do you find out if the page is Unpublished? Is there a property I can use to tell me this? Or is there a Unpublish Date property I can use?
If you're running an Umbraco version prior to Umbraco 7.8, you can see this under the Properties tab.
For instance, if you have an unpublished page it should look somewhat like this:
Whereas a published page should have one or more URLs:
In Umbraco 7.8, the Properties tab has been replaced with a brand new Info tab, which looks different. But there should be a similar way to check whether the page is actually published.
Apologies - I was wondering if there is a Property in the IPublishedContent code that I can query an expiry date. I know there is is in IContent but Im using IPublishedContent and have pagination to navigation multiple results.
Nope. This is unfortunately not available in IPublishedContent.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted