Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to access the scheduling/publishing start date and expiry date from code-behind (event receiver) - but I'm not sure what they're called. Probably vti_... I'm assuming?

Thanks a lot.

share|improve this question
add comment

1 Answer

The InternalNames are PublishingStartDate and PublishingExpirationDate

If you want do it the "right" way then the IDs are in Microsoft.SharePoint.Publishing.FieldId.StartDate and Microsoft.SharePoint.Publishing.FieldId.ExpiryDate

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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