Content Management Guide

CHAPTER 17

Administering Content

This chapter describes how to check documents in and out and administer version control. It has these sections:

 
Top of page

About content administration

In organizations responsible for developing and maintaining exteNd Director applications, CM is a dynamic process that often involves multiple users interacting concurrently with a shared set of files within a common infrastructure.

To preserve the integrity of data in this type of environment, the CMS Administration Console provides a number of safeguards for effectively administering content:

 
Top of page

Flow of operations

Here is a workflow that illustrates the recommended order of operations for administering content in the CMS Administration Console:

orderOfOps5Administer

 
Top of page

Checking documents in and out

To prevent concurrent access to documents in a multiuser environment, the CMS Administration Console provides checkin and checkout capability to users with READ, WRITE, and LIST permissions—typically the users who are content developers and administrators.

Authorized users must check out documents before they can make any changes to the content, including:

These rules also apply to XSL style sheets, which when uploaded to the CMS Administration Console are managed in the same way as documents that are created in the CMS Administration Console.

This section describes what happens during checkin and checkout and explains how to perform the following tasks:

 
Top of section

What happens during checkout

Checking out a document locks it, preventing other users from modifying the content. Users with READ permission can view the currently published content of checked-out documents.

The CMS Administration Console marks checked-out documents for easy identification with a checkmark icon and displays the name of the user who has locked the content. In the following example, the document PSAT3 has been checked out by user administrator:

checkedOutDoc

In this example, the user dba now becomes the owner of the document and the only user with authorization to save, delete, edit, and check in the document. If other users try to access PSAT3, they will not see the Save, Delete, Edit, or Check In buttons on the Property Inspector—even if they have WRITE permission for PSAT3—and they will see only the Preview button if they have READ permission for PSAT3.

When a document is checked out, the latest version is locked for editing by the owner. The only way to modify an earlier version of a document is to roll back to that version, as described in Administering version control.

Using the check-outs view   The Content tab contains a check-outs view that displays checkouts for either the current user or other users. Here is a sample check-outs view display, with a single file checked out to the current user:

checkOutsView

Using the check-outs view, you can:

 
Top of section

What happens during checkin

When a document is checked in by its owner, any content modifications are saved as a new version, accessible from the Versions tab in the document's property sheet. Other authorized users are then free to check out the document for editing and will get the most up-to-date version of the content.

Content administrators can implement an automatic checkin feature when they create document types. When this feature is enabled, the CMS Administration Console automatically checks in any document of the specified type after it is edited.

 
Top of section

Checkin and checkout procedures

Procedure To check out a document:

  1. Enter content mode by clicking the Content button in the toolbar.

  2. Select the Folder View tab.

    Your folders appear in the content tree view. You may need to expand some of these containers to see the complete view.

  3. Navigate to the document of interest and select it to open its Property Inspector.

  4. In the Property Inspector, select the General tab and click Check-Out.

    The CMS Administration Console checks out the latest version of the document, indicating who has locked the content and changing the document icon to the checked-out icon:

    documentCheckedOutIcon

Procedure To check in a document:

  1. Enter content mode by clicking the Content button in the toolbar.

  2. Select the Folder View tab.

    Your folders appear in the content tree view. You may need to expand some of these containers to see the complete view.

  3. Navigate to the checked-out document of interest and select it to open its Property Inspector.

  4. In the Property Inspector, select the General tab and click Check-In.

    The CMS Administration Console checks in the document, making the most current version of the content available for other users to edit.

Procedure To enable automatic checkin for an existing document type:

This option is available only to administrators.

NOTE:   You can also set this parameter when you create a new document type, as described in Creating document types.

  1. Enter templates mode by clicking the Templates button in the toolbar.

    A panel appears listing all document types that have been defined.

  2. Select the document type for which you want to set automatic check-in, then click Edit.

    The Edit This Document Type window opens:

    editDocType1

  3. Check the Auto-Checkin check box and click Update Document Type.

    When you edit a document of this type, the CMS Administration Console automatically checks in your modifications.

 
Top of page

Administering version control

The CMS Administration Console provides version control to systematically maintain a history of changes to documents and ensure that the correct content is published.

Administrator tasks   The version control system allows administrators with PUBLISH permissions to perform the following tasks:

Task

Description

Publish

Approve the designated content version and make the content available for viewing by other users with appropriate permissions. The published version of a document is the content that is returned by the method getContent().

Unpublish

Hide the designated version from public view.

Roll back

Delete all versions of content created after a specified version.

What version you see   By default, you receive the latest version of content when you check out and edit a document in the CMS Administration Console. If you want to revert to and modify earlier content, you can roll back to a previous version. Rolling back deletes all later versions of content and sets the target version as the most current.

You must check out a document before you can publish, unpublish, or roll back versions of that document. If you have not checked the document out, you can only preview versions of the content.

Any user who opens a document will see a Versions tab in the document's Property Inspector. Here is an example of what the Versions panel looks like:

versionsPanel

In this example, any user who selects the document PSAT1 can preview its two versions.

Publish features   Users with PUBLISH permission can check out PSAT1 and gain the ability to publish, unpublish, and roll back versions, as shown in the refreshed Property Inspector:

versionControlFunctions

Content administrators can also implement an automatic publish feature when they create document types. When this feature is enabled, the CMS Administration Console automatically publishes the content of any document of the specified type if that content is changed.

What's in this section   This section explains how to perform the following version control tasks:

Procedure To publish a version:

You can publish any version, even if it is not the latest. The CMS Administration Console allows only one version of a document to be published at any given time.

  1. Enter content mode by clicking the Content button in the toolbar.

  2. Select the Folder View tab.

    Your folders appear in the content tree view. You may need to expand some of these containers to see the complete view.

  3. Navigate to the document of interest and select it to open its Property Inspector.

  4. In the Property Inspector, select the General tab and click Check-Out.

    The CMS Administration Console checks out the latest version of the document.

  5. Select the Versions tab, then select the document version you want to publish.

  6. Click Publish.

    The CMS Administration Console publishes the version you selected, marking it with the published-version icon:

    publishedDocumentIcon

  7. Return to the General tab and click Check-In.

    The published version cannot be edited, even when the document is checked out.

Procedure To unpublish a version:

  1. Enter content mode by clicking the Content button in the toolbar.

  2. Select the Folder View tab.

    Your folders appear in the content tree view. You may need to expand some of these containers to see the complete view.

  3. Navigate to the document of interest and select it to open its Property Inspector.

  4. In the Property Inspector, select the General tab and click Check-Out.

    The CMS Administration Console checks out the latest version of the document.

  5. Select the Versions tab, then select the published version you want to unpublish.

    Published versions appear with this icon:

    publishedDocumentIcon

  6. Click Unpublish.

    The CMS Administration Console unpublishes the version you selected, marking it with the default document icon:

    documentIcon

  7. Return to the General tab and click Check-In.

Procedure To roll back to a previous version:

  1. Enter content mode by clicking the Content button in the toolbar.

  2. Select the Folder View tab.

    Your folders appear in the content tree view. You may need to expand some of these containers to see the complete view.

  3. Navigate to the document of interest and select it to open its Property Inspector.

  4. In the Property Inspector, select the General tab and click Check-Out.

    The CMS Administration Console checks out the latest version of the document.

  5. Select the Versions tab, select the version you want to roll back to, then click Rollback.

  6. When a confirmation window opens, click OK.

    The CMS Administration Console deletes all versions created after the selected version—even if one of these later versions was already published. The selected version becomes the latest version.

  7. Return to the General tab and click Check-In.

Procedure To enable automatic publish:

Only users with administrative permissions can implement this feature. Enabling automatic publish produces the following effects:

Procedure To enable automatic publish:

  1. Enter templates mode by clicking the Templates button in the toolbar.

    A panel appears listing the document types that have been defined.

  2. Select the document type for which you want to set automatic checkin, and click Edit.

    The Edit This Document Type window opens:

    editDocType1

  3. Check the Auto-Publish check box and click Update Document Type.

    When you edit and save a document of this type, the CMS Administration Console automatically publishes your modifications as a new version of the content. This latest version becomes the published version, regardless of whether an earlier version was already published or no earlier versions were published.

NOTE:   You can also enable automatic publish when you create a new document type, as described in Creating document types.

Procedure To set publish dates:

The CMS Administration Console does not automatically set publish dates, although content administrators with WRITE permission can set publish dates manually anytime to mark documents for publication. After that, developers can write scheduled business objects that publish documents based on these dates.

  1. Enter Content mode by clicking the Content button in the toolbar.

  2. Select the Folder View tab.

    Your existing folders appear in the content tree view. You may need to expand some of these containers to see the complete view.

  3. Navigate to the document of interest and select it to open its Property Inspector.

  4. In the Property Inspector, select the General tab and click Check-Out.

    The CMS Administration Console checks out the latest version of the document.

  5. In the Publish Date field, enter a publish date of the form:

      YYYY-MM-DD HH:MM:SS
    
  6. Click Save to record the date.



Copyright © 2003 Novell, Inc. All rights reserved. Copyright © 1997, 1998, 1999, 2000, 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.  more ...