Monday, May 30, 2005

Urls and Modes

Few common query strings (which are related with modes) and their possible values are given bellow. A query string can take one of the possible value given in the bellow table.

Query stringPossible Value
NRMODE (PublishingMode)PUBLISHED or UNPUBLISHED or UPDATE
WBCMODE (WebAuthorContextMode)PresentationUnpublished or PresentationUnpublishedPreview or AuthoringNew or AuthoringReedit or AuthoringPreview
wbc_purposeAuthoring or Basic
nr_emitThinEdit or View

Even though NRMODE is directly related with PublishingMode, WebAuthorContextMode is not only related with WBCMODE. The table given below have modes and relevant query string in detail.

Query string and valueAdditional checkMode
NRMODEWBCMODEwbc_purposenr_emitPublishing
Mode
WebAuthorContext Mode
PUBLISHED----PUBLISHEDPresentationPublished
UNPUBLISHED or UPDATEAuthoringNew--Posting. CanSetProperties =trueUNPUBLISHED or UPDATEAuthoringNew
UNPUBLISHED or UPDATE-AuthoringThinEditPosting.State =PostingState.New and Posting. CanSetProperties =trueUNPUBLISHED or UPDATEAuthoringNew
UNPUBLISHED or UPDATEAuthoringNew--Posting. CanSetProperties =falseUNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATE-AuthoringThinEditPosting.State =stingState.New and Posting. CanSetProperties =falseUNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATEAuthoringReedit--Posting. CanSetProperties =trueUNPUBLISHED or UPDATEAuthoringReedit
UNPUBLISHED or UPDATE-AuthoringThinEdit Posting. CanSetProperties =trueUNPUBLISHED or UPDATEAuthoringReedit
UNPUBLISHED or UPDATEAuthoringReedit--Posting. CanSetProperties =falseUNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATE-AuthoringThinEditPosting. CanSetProperties =falseUNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATEAuthoringPreview--Posting. CanSetProperties =trueUNPUBLISHED or UPDATEAuthoringPreview
UNPUBLISHED or UPDATEAuthoringPreview--Posting. CanSetProperties =falseUNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATEPresentation Unpublished Preview---UNPUBLISHED or UPDATEPresentationUnpublished Preview
UNPUBLISHED or UPDATE-""""-UNPUBLISHED or UPDATEPresentationUnpublished Preview
UNPUBLISHED or UPDATE-""View-UNPUBLISHED or UPDATEPresentationUnpublished Preview
UNPUBLISHED or UPDATE---CmsHttpContext. IsUsingTemplate =trueUNPUBLISHED or UPDATETemplatePreview
UNPUBLISHED or UPDATEPresentation Unpublished---UNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATE-""""-UNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATE-BasicView-UNPUBLISHED or UPDATEPresentationUnpublished
UNPUBLISHED or UPDATE---Otherwise ( if non of the above)UNPUBLISHED or UPDATEPresentationUnpublished

Note :

  • PublishingMode - Staging is ignored, it is equivalent to WebAuthorContextMode PresentationPublished.

  • PublishingMode - UPDATE is only used; and need to be used when making changes to the site.

  • Even though HierarchyItem.CanSetProperties is not relevant with PublishingMode,
    WebAuthorContextMode relates with that.

  • As stated before, PublishingMode will be same as NRMODE.

  • More information about modes can be found here - Microsoft Content Management Server 2002 Developers Guide.

0 Comments:

Post a Comment

<< Home