SaaS CMS has officially launched! Learn more now.

IsVisibleOnSite() vs CheckPublishedStatus(PagePublishedStatus.Published)


Hello all,

could anyone explain the difference between 2 or reference some article? What is "best" to use if I want to check that the page is not expired at the moment of the check?

Thank you!

Dec 01, 2020 13:14

I believe the former is also check for access rights of the current user. the latter does not

Dec 01, 2020 14:24
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.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.