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 string | Possible Value |
| NRMODE (PublishingMode) | PUBLISHED or UNPUBLISHED or UPDATE |
| WBCMODE (WebAuthorContextMode) | PresentationUnpublished or PresentationUnpublishedPreview or AuthoringNew or AuthoringReedit or AuthoringPreview |
| wbc_purpose | Authoring or Basic |
| nr_emit | ThinEdit 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 value | Additional check | Mode | ||||
| NRMODE | WBCMODE | wbc_purpose | nr_emit | Publishing Mode | WebAuthorContext Mode | |
| PUBLISHED | - | - | - | - | PUBLISHED | PresentationPublished |
| UNPUBLISHED or UPDATE | AuthoringNew | - | - | Posting. CanSetProperties =true | UNPUBLISHED or UPDATE | AuthoringNew |
| UNPUBLISHED or UPDATE | - | Authoring | ThinEdit | Posting.State =PostingState.New and Posting. CanSetProperties =true | UNPUBLISHED or UPDATE | AuthoringNew |
| UNPUBLISHED or UPDATE | AuthoringNew | - | - | Posting. CanSetProperties =false | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | - | Authoring | ThinEdit | Posting.State =stingState.New and Posting. CanSetProperties =false | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | AuthoringReedit | - | - | Posting. CanSetProperties =true | UNPUBLISHED or UPDATE | AuthoringReedit |
| UNPUBLISHED or UPDATE | - | Authoring | ThinEdit | Posting. CanSetProperties =true | UNPUBLISHED or UPDATE | AuthoringReedit |
| UNPUBLISHED or UPDATE | AuthoringReedit | - | - | Posting. CanSetProperties =false | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | - | Authoring | ThinEdit | Posting. CanSetProperties =false | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | AuthoringPreview | - | - | Posting. CanSetProperties =true | UNPUBLISHED or UPDATE | AuthoringPreview |
| UNPUBLISHED or UPDATE | AuthoringPreview | - | - | Posting. CanSetProperties =false | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | Presentation Unpublished Preview | - | - | - | UNPUBLISHED or UPDATE | PresentationUnpublished Preview |
| UNPUBLISHED or UPDATE | - | "" | "" | - | UNPUBLISHED or UPDATE | PresentationUnpublished Preview |
| UNPUBLISHED or UPDATE | - | "" | View | - | UNPUBLISHED or UPDATE | PresentationUnpublished Preview |
| UNPUBLISHED or UPDATE | - | - | - | CmsHttpContext. IsUsingTemplate =true | UNPUBLISHED or UPDATE | TemplatePreview |
| UNPUBLISHED or UPDATE | Presentation Unpublished | - | - | - | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | - | "" | "" | - | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | - | Basic | View | - | UNPUBLISHED or UPDATE | PresentationUnpublished |
| UNPUBLISHED or UPDATE | - | - | - | Otherwise ( if non of the above) | UNPUBLISHED or UPDATE | PresentationUnpublished |
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