In the coding examples we used to authenticate to the CmsApplicationContext, we hardcoded the CMS Update publishing mode. There are four publishing modes that we can use:
By default, the published version of a posting, if there is one, is returned in both Published mode and Staging mode. The unpublished version of a posting, if there is one, is returned in both Unpublished and Update modes. In the event that there isn't an unpublished posting, a copy of the published version is returned ready for alteration. If we are going to the trouble of creating a Context, we will likely use Update mode. However, it is feasible that Published and Unpublished modes could be helpful in some circumstances.
NOTE: Web Author mode has a refinement of the publishing mode and is discussed at length in Chapters 5 and 30. |