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've been through the typical publish/approve process and have, seemingly, successfully published a page (I've checked it's approval status in the manage content and structure section of the site which says approved. Does this mean it's published?).

However, when I run the following query (which does bring back the page in question), the PublishingStartDate is always empty:

//query.ViewFields = @"<FieldRef Name=""PublishingStartDate"" /><FieldRef Name=""Author"" />";
share|improve this question

1 Answer 1

up vote 2 down vote accepted

That field only applies to pages that are/were published on a scheduled date and time and it should be empty for Pages that are published immediately.

share|improve this answer
    
Thanks a LOT Dave! Very helpful response. So with this in mind, is there a field that holds the value of the published date if it has been published immediately? –  DeeMac Jun 20 '12 at 8:50
    
The CAML for that should be <FieldRef Name=\"_Level\" /><Value Type=\"Integer\">1</Value> –  Dave Wise Jun 20 '12 at 15:00

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.