November Happy Hour will be moved to Thursday December 5th.

IsVisibleOnSite() vs CheckPublishedStatus(PagePublishedStatus.Published)

Vote:
 

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!

#231548
Dec 01, 2020 13:14
Vote:
 

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

#231552
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.