Content Management Guide

CHAPTER 15

Creating Content

This chapter describes how to create content using the CMS Administration Console. It has these sections:

 
Top of page

About content

What content is   Content is defined as information that is viewed or downloaded by users of your exteNd Director application. Content is managed in the CMS Administration Console. (It is important to distinguish content from pages, which are managed in the DAC and present the graphical interface that helps users navigate the Web site.)

For more informationFor more information about content, see About the Content Management Subsystem.

The CMS Administration Console supports content in any format that can be digitized, including HTML and binary content imported from other applications.

Before you create content   Before you can create content for your exteNd Director application, the following elements of the content infrastructure must be in place:

Element

For information see

Folder for physically storing the content

Creating folders

Document type for defining content structure

Creating document types and Creating fields and adding them to a document type

Within this infrastructure, you will be able to create content that conforms to the standards your organization has set for structure.

 
Top of page

Flow of operations

Here is the basic task required to create content in the CMS Administration Console:

orderOfOps2Content

First you create content as documents based on a document type; then you can set up relationships between documents by adding child documents and attachments to a parent document. You can also set up relationships between documents by adding child documents and attachments to a parent document.

This section describes procedures for:

After the content has been developed, authorized users can add optional parts of the content infrastructure as needed—such as custom display styles, taxonomies, and categories. These procedures are covered in Setting Up the Optional Infrastructure.

 
Top of page

Creating documents

With the CMS Administration Console, content developers create content in the form of documents that reside in folders. Each document is stored in one (and only one) folder.

When you create documents, you must specify three types of information:

  1. Identifying information—or metadata:

    Identifying information

    Details

    Name of document

    Identifies the document in the content list)

    Title of content

    Appears in the user view of the document)

    Subtitle

    (Optional)

    Author

    Folder

    Where document is stored)

    Categories

    (Optional)

    Abstract

    (Optional)

    Status

    (Optional)

    Expiration date

    (Optional)

    Publish date

    (Optional)

  2. Information required by the fields that are part of the document type

  3. Dynamic content that can be entered either as HTML directly in the CMS Administration Console, or uploaded from external files

Each time you edit the content of a document, the CMS Administration Console creates a new version of the document content. The CMS Administration Console does not create a new version of the document content if you change only the metadata or custom field values but not the content.

If you want to create a document for the purpose of testing your style sheets, you can use the CMS Administration Console's Auto Create utility, which automatically fills in boilerplate content for you.

This section describes how to:

 
Top of section

Creating a document

Procedure To create a document:

  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 a document type from the list and click Use.

    The Create A New Document window opens with the General tab open.

    This tab contains the basic document metadata, such as name, title, author, folder that contains the document, any categories that contain the document, and so on:

    createNewDocument

  3. Enter data into any required fields in the General tab.

    TIP:   Any fields marked with an asterisk are required fields and must be filled in before you can create the document.

  4. Click Custom Fields and enter data for any fields defined for the document type.

    Some example custom fields are shown below:

    createNewDocumentCustomFields

    TIP:   Custom fields are in some sense required fields in that you must fill in any empty fields before you can create the document. In the example above, you must fill in the Question Text field and select one of the buttons before the CMS Administration Console can create the document.

  5. Click the Content tab and specify the dynamic content for the document:

    createNewDocumentContent

    The options for entering content depend on the Default Content setting of the document type (as specified under Creating document types):

  6. Click Add the Content at the bottom of the Create A New Document window.

    The document is created in the folder you specified in the General tab.

    For more informationTo view the content you just created, see Previewing content.

 
Top of section

Specifying a folder for a new document

Procedure To specify a folder for a new document:

  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 a document type from the list and click Use.

    The Create A New Document window opens.

  3. Click the ellipsis next to the Folder field.

    The Folder Selector window opens:

    folderSelectorDlog

  4. Navigate to the folder you want, click the folder name, and click Done.

    The name of the selected folder appears in the Folder field of the Create Content window.

  5. Enter other content as needed and click Update the Content.

 
Top of section

Using Auto Create to create a document

Procedure To use Auto Create to create a document:

  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 a document type from the list and click Auto Create.

    The Create Content window opens, with most required metadata and fields filled in.

  3. Specify a folder for the document.

  4. Fill in any other content as desired and click Add the Content.

    The document is created in the specified folder.

 
Top of section

Using the CMS Administration Console's HTML Editor

Content developers can enter content as HTML using the CMS Administration Console's HTML Editor.

The only prerequisite is that you must set the Default Content option to HTML or Choice when creating the document type.

For more information    For more information about specifying document type options, see Creating document types.

When you create or edit content using a document type with one of these Default Content settings (Binary, HTML, or Choice), the HTML Editor appears in the Content tab of the Create A New Document or Edit Document window:

editDocumentContent

With the CMS Administration Console's HTML Editor you can:

You can use the HTML Editor to edit the portion of the HTML code that would appear in the <BODY> section—not the entire HTML document. For example, you cannot use the HTML Editor to modify HTML code that would appear in the <HEAD> section of the document.

This section describes how to access and use the CMS Administration Console's HTML Editor.

Procedure To access the CMS Administration Console's HTML Editor when creating a new document:

  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 a document type whose Default Content field equals HTML or Choice.

  3. Click Use.

    The Create A New Document window opens.

  4. Click Content to access the HTML Editor:

    contentEditor

Procedure To access the CMS Administration Console's HTML Editor when editing an existing document:

  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. Click the Edit button.

    The Edit Document window appears.

  6. Click Content to access the HTML Editor:

    editDocumentContent

For more informationFor more information about checking documents in and out, see Checking documents in and out.

Procedure To cut, copy, paste, and format text:

Procedure To show HTML code:

Procedure To show rendered text:

Procedure To create a hyperlink:

  1. Position the cursor in the HTML Editor where you want to insert the link.

  2. Click the Create Hyperlink button:

    link

    The Create A Link window opens:

    createLink

  3. Choose the type of link you want to create:

    Type of link

    Description

    Internal

    Link to content that you created in or uploaded to the CMS Administration Console

    External

    Link to external content

  4. To create an internal link:

    1. Select the Internal radio button.

      The Search For A Resource window opens:

      searchForResource

    2. Search for internal content by name, title, or author by selecting the appropriate radio button, entering the appropriate identifying information, and clicking the Search button.

    3. Select the resource from the search results and click the Close Window button at the bottom of the window.

      A text string linking to the resource appears in the Create A Link window. You can click on the text string to view the resource.

    4. Back in the Create A Link window, enter the display text for the link in the Display field and click Add The Link.

  5. To create an external link:

    1. Select the External radio button.

    2. Enter the display text for the link in the Display field.

    3. Enter the URL of the external content in the URL field.

      NOTE:   You can enter an URL that invokes a servlet to serve up content to your exteNd Director application.

    4. Click Add The Link.

Procedure To insert an image:

  1. Position the cursor in the HTML Editor area where you want to insert the image.

  2. Click the Insert Image button:

    insertImage

    The Insert An Image window opens:

    insertImageDlog

  3. Choose the type of image you want to insert:

    Type of image

    Description

    Internal

    Image that you created in or uploaded to the CMS Administration Console

    External

    Image created outside the CMS Administration Console

  4. To insert an internal image:

    1. Select the Internal radio button.

      The Search For A Resource window opens:

      searchForResource

    2. Search for an internal image by name, title, or author by selecting the appropriate radio button, entering the appropriate identifying information, and clicking the Search button.

    3. Select the image from the search results and click the Close Window button at the bottom of the window.

      A text string identifying the image target appears in the Insert An Image window.

    4. Back in the Insert An Image window, enter a title for the image in the Title field.

      The title is the hover text that will appear as the cursor moves over the image.

    5. Click Insert The Image.

  5. To insert an external image:

    1. Select the External radio button.

    2. Enter a title for the image in the Title field.

      The title is the hover text that will appear as the cursor moves over the image.

    3. Enter the URL of the external image in the URL field.

    4. Click Insert The Image.

 
Top of page

Creating relationships between documents

The CMS Administration Console allows you to create two types of relationships between documents:

Relationship type

Description

Parent/child

In this relationship, a parent document can have one or more child documents. This is a one-to-many relationship: each child document can have only one parent, but each parent can have multiple child documents. A typical application of the parent/child relationship is for a discussion thread in which one question can have multiple responses but each response relates to only one parent question.

Parent/attachment

In this relationship, a parent document can have one or more attached documents. This is a many-to-many relationship: each parent document can have more than one attachment, while each attachment can be shared with multiple other parents. A typical application of the parent/attachment relationship is an online bookstore that attaches author documents to its book lists, where multiple books can have the same author.

The definition of document includes not only documents created in the CMS Administration Console, but also documents that are uploaded to the CMS Administration Console, such as images and binary files.

This section describes how to add child documents and attachments to a parent document, and how to remove these relationships.

Procedure To add a child document:

Users with READ and WRITE permissions can add children to a document. You can add internal child documents or upload external documents.

  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. Click to select the folder that contains the content of interest.

    A list of documents appears in the content list.

  4. Select the document of interest.

    A Child Docs tab appears in the document's Property Inspector.

  5. Click Check-Out to check out your document and then select the Child Docs tab.

  6. Select a document, using one of these methods:

    To

    Do this

    Add an internal document

    1. Click Add in the Child Docs pane.

      The Search For A Resource window opens.

    2. Search for a document by name, title, or author by selecting the appropriate radio button, entering identifying information, and clicking the Search button.

    3. Select the document from the search results.

    Upload an external document

    1. Click Upload in the Child Docs pane.

      The Upload A File Attachment window opens.

    2. Browse to the document of interest and select it.

    3. Click Upload.

    The document you select appears as a child of your document in the Property Inspector.

  7. Check your document back in by selecting the General tab, then clicking Check-In.

For more informationFor more information about checking documents in and out, see Checking documents in and out.

Procedure To add an attachment:

Users with READ and WRITE permissions can add attachments to a document. You can attach internal documents or upload external documents.

  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. Click to select the folder that contains the content of interest.

    A list of documents appears in the content list.

  4. Select the document of interest.

    An Attachments tab appears in the document's Property Inspector.

  5. Click Check-Out to check out your document and then select the Attachments tab.

  6. To attach an internal document (one that has been created in or uploaded to the CMS Administration Console):

    1. Click Add in the Attachments pane.

      The Search For A Resource window opens.

    2. Search for a document by name, title, or author by selecting the appropriate radio button, entering identifying information, and clicking the Search button.

    3. Select the document from the search results.

      The Attachment Properties window opens.

    4. (Optional) In the Description text area, enter text about the relationship between the parent document and its attachment.

      This text appears in the XML generated by the CMS Administration Console Content Reader.

    5. Click Add.

      The document you selected appears as an attachment to your document in the Property Inspector.

  7. To attach an external document:

    1. Click Upload in the Child Docs pane.

      The Upload A File Attachment window opens.

    2. Browse to the document of interest and select it.

    3. (Optional) In the Description text area, enter text about the relationship between the parent document and its attachment.

      This text appears in the XML generated by the CMS Administration Console Content Reader.

    4. Click Upload.

      The document you select appears as an attachment to your document in the Property Inspector.

  8. Check your document back in by selecting the General tab, then clicking Check-In.

For more informationFor more information about checking documents in and out, see Checking documents in and out.

Procedure To remove relationships between documents:

To remove the relationship between a parent document and its child or attachment, you need READ, WRITE, and LIST permissions.

  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. Click to select the folder that contains the content of interest.

    A list of documents appears in the content list.

  4. Select the parent document of interest to open its Property Inspector.

  5. Check out the parent document by clicking Check-Out in its Property Inspector.

  6. Check out the attachment or child document of interest by selecting it in the content list and clicking Check-Out in its Property Inspector.

  7. Select the parent document again and then choose the Attachments or Child Docs tab in its Property Inspector.

  8. Select the attachment or child document of interest in the parent's Property Inspector.

    The Property Inspector refreshes to provide a Remove Relationship button.

  9. Click the Remove Relationship button.

    The attachment or child document disappears from the parent's Property Inspector, but remains in its CMS Administration Console folder.

  10. Check the parent and child (or attachment) back in by selecting the General tab, then clicking Check-In.

NOTE:   The parent and child (or attachment) must both be checked out to sever the relationship. Otherwise, the Remove Relationship button will not appear. Even after you sever the relationship, the attached file or child document remains in the CMS Administration Console.

For more informationFor more information about checking documents in and out, see Checking documents in and out.



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