2

Is there a way to determine the check-in/publish status of a Publishing Page programmatically?

For example to determine

  • whether the page is checked out (and to whom),
  • whether the page has a published version,

etc.

3

Check the Level property of the SPFile object. It's a SPFileLevel enumeration with these possible values:Published, Draft, Checkout

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.