+

Search Tips   |   Advanced Search

Tutorial: Create and publish content

Use pages, projects, and workflow to create and approve draft pages. Changes are syndicated to a delivery server.

Most actions originate from the site toolbar.


Create users and groups

The tutorial uses multiple user roles to demonstrate how content is created and flows through the system. To complete the steps in the tutorial as they are documented, create the groups and user IDs.

This tutorial uses the following user roles, IDs, and group assignments.

The tutorial highlights four user roles, the site administrator, content author, content reviewer, and content approver. Each user role performs specific tasks in the tutorial.


Procedure

  1. Click...

      Administration menu | Access | Users and Groups | All Portal User Groups | New Group

    Set ContentEditors as the ID. Repeat this step to create ContentReviewers and ContentApprovers.

  2. Click...

      ContentApprovers | New User

    ...and create Approver1.

  3. Click All Portal User Groups in the breadcrumb.

  4. Click...

      ContentEditors | New User

    ...and create Author1.

  5. Click All Portal User Groups in the breadcrumb.

  6. Click...

      ContentReviewers | New User

    ...and create Reviewer1.

  7. Click All Portal User Groups in the breadcrumb.

  8. Click...

      wpsadmins | New User

    ...and create SiteAdmin.


Step 1. Set up library access

The SiteAdmin must grant library access to content authors and approvers.

In this step, access is defined for the following libraries:

  1. As user SiteAdmin, click...

      Administration menu | Portal Content | Web Content Libraries

  2. Set permissions for the Portal Site library.

    1. Click the Set permissions icon for the Portal Site library.

    2. Click the Edit Role icon for the Editor role.

    3. Click Add. Then, click Search to show all groups.

    4. Select the ContentEditors group.

  3. Click...

      Portal Content | Web Content Libraries

  4. Set permissions for the Web Content library.

    1. Click the Set permissions icon for the Web Content library.

    2. Click the Edit Role icon for the Contributor role.

    3. Click Add. Click Search to show all groups.

    4. Select the ContentEditors, ContentReviewers, and ContentApprovers group.


What to do next

In addition to appropriate access to libraries, content authors require Editor access to any pages and portlets involved. This access enables authors to create pages and add portlets to pages. This tutorial relies on sample content with predefined access. However, if we use our own content, ensure specified sufficient access on these resources in the portal so authors can work with them.


Step 2. Set up syndication

Updates to pages and content are transferred from the authoring server to the delivery server with syndication. The SiteAdmin sets up syndication between the required web content libraries of the two servers.

The delivery server is the subscriber. The authoring server is the syndicator.

  1. Log in to the delivery server as an administrator.

  2. Create a shared credential vault slot for accessing the syndicator.

    1. Click...

    2. Enter a name for the vault slot. For example, syndication-slot.

    3. Click new, and enter a vault resource to associate with the slot. For example, syndication-resource

    4. Click Vault slot is shared, and enter the user ID and password to access the slot from the authoring server. This user ID and password must be defined on the authoring server. This tutorial uses the credentials for SiteAdmin.

    5. Click OK.

  3. Then, click...

      Portal Content | Subscribers | Subscribe Now

  4. Specify the details for the syndicator and subscriber.

    1. In the Syndicator URL field, enter the URL to access the authoring server.

      This URL takes the form...

        http://hostname:port/wcm_context_root

      The default context root for WCM is wps/wcm. For example:

        http://www.example.com:10039/wps/wcm

    2. In the Syndicator Name field, enter a name to identify the authoring server in the syndication relationship. This name is used for the syndicator item created on the authoring server.

    3. In the Subscriber Name field, enter a name to identify the delivery server in the syndication relationship. This name is used for the subscriber item created on the delivery server.

    4. In the Credential Vault Slot field, select the credential vault slot created previously. For example, syndication-slot

    5. Click Next, and select the libraries to syndicate.

      The following libraries are needed for this tutorial:

      For each library, select Live items in the Scope field.

    6. Click Finish.

    7. To verify the syndication connection, click the Test connection icon.


Step 3. Create workflow

Pages created in this tutorial are subject to custom workflow attached to a page template. Before creating the page template on the authoring server, the SiteAdmin creates the custom workflow. The custom workflow is stored in the Web Content library, and contains the following stages:

Draft and Publish stage are available for immediate use.

Create the Review stage...

  1. Log in to the authoring server as SiteAdmin.

  2. Create the Review workflow stage.

    1. Click...
        Applications menu | Content | Web Content Authoring tab | Web Content | Workflow Items | Workflow Stages | New | Workflow Stage

    2. Enter "Review Stage" for the workflow stage name.

    3. Click Save and Close.

  3. Edit the access for Draft workflow stage.

    1. Click...

        Draft workflow stage | Edit | Workflow Defined Access | Grant Manager Access

    2. Type Co in the search field and click Search.

    3. Select...

        ContentEditors | Add | OK | Grant Reviewer Access

    4. Type Co in the search field and click Search.

    5. Select...

        ContentReviewers | Add | OK | Save | Close.

  4. Edit the access for Publish workflow stage.

    1. Click...

        Publish workflow stage | Edit | Workflow Defined Access | Grant Draft Creator Access

    2. Type Co in the search field and click Search.

    3. Select ContentEditors and click Add. Click OK..

    4. Click Save and Close.

  5. Edit the access for Review workflow stage.

    1. Click...

        Review workflow stage | Edit | Workflow Defined Access | Grant User Access

    2. Type Co in the search field and click Search.

    3. Select ContentEditors and click Add. Click OK..

    4. Click Grant Reviewer Access.

    5. Type Co in the search field and click Search.

    6. Select ContentReviewers and click Add. Click OK..

    7. Click Save and Close.

    In the following example screen capture shows the access settings for Review workflow stage. The ContentEditors group is listed with User access, and the ContentReviewers group is listed with Approver access.

  6. Create the custom workflow named Workflow1.

    1. Click...

        Web Content (breadcrumb) | Workflow Items | Workflows | New | Workflow

    2. Enter Workflow1 for the workflow name.

    3. In the Workflow Properties section, click...

        Add Workflow Stages

      ...and add the following stages, in the following order...

      • Draft Stage
      • Review Stage
      • Publish Stage

    4. Save the changes.


Step 4. Create page template

Because page changes need to be approved before they are published, we specify a custom workflow (Workflow1) in page template properties. Changes to the page will be subject to the Workflow1 workflow.

  1. From the Site menu, click Home to go to the default site.

  2. Click Projects.

    We can set a workflow only on items in a draft state. Because of this behavior, create the template as a draft in the context of a project. By working in a project, we can also verify the workflow to verify the stages behave as expected.

  3. Type New Template and click Create.

    The new project is shown as the active project.

  4. Create the page template.

    1. Turn on Edit Mode.

    2. Click...

        Administration menu icon | Portal User Interface.

    3. Click Page Templates

    4. From the toolbar click...

        Create | Page

      Alternatively, right-click "Page Templates", then from context menu, select "Create Child Page".

    5. Use the Basic template and type Template1 as the page title of the new page template. We must be in Edit mode.

    6. Click Create Page.

      Parentheses around the page name indicate the page is in a draft state. Close the toolbar to view the page.

  5. Add the custom workflow to the page template.

    1. Right-click "Template1", then from context menu, select "Open Page Settings".

    2. Select: "Edit Page Properties"

    3. Click...

        Security tab | Workflow, | Select | Web Content library | Workflow1 | OK

      The page draft enters the selected workflow. Confirm the current workflow stage by clicking the Details tab, and examining the workflow properties. In this case, Draft is the current stage and Review is the next stage.

    4. Close the Manage Page Properties dialog.

  6. Complete the workflow for the draft template.

    Before we can publish the project and make the new page template available to users, we must move the template through the workflow.

    1. On the General page, click Submit for Review.

      The Submit for Review button is only available to users that have Approver access on the current workflow stage.

      When we click Submit for Review, the draft item progresses to the next stage in the current workflow. The template moves to the Review Stage of the Workflow1 workflow. The General view displays the current workflow stage.

    2. Click Publish to move the template into the publish state.

  7. Click Projects.

    With the New Template project as the current project, click Publish.

  8. After the project is published, we are taken out of the project context and restored to the published site.

    Template1 is listed with the other page templates on the Create Page tab.

Workflow changes are not dynamically applied to any page templates that use the workflow. If we change the workflow, or its stages, after publishing the project containing the template, set the workflow again:

  1. Create a project.

  2. Edit the page template, and specify the workflow again on the Security tab in the page properties.

  3. Move the template through the workflow, and publish the project.


Step 5. Create News page from template, and submit changes for review

The News page itself is created by SiteAdmin, and is based on Template1.

  1. As Author1, create a project to manage updates.

    1. Open the toolbar, and click Projects

    2. Enter "News Section Update" as the project name.

    3. Click...

        Create | Manage Project | Edit | Approval | Add

    4. Search for Approver1 and add the user.

      When the project changes are reviewed and submitted, Approver1 can do the final approval of the complete project. This review step is a separate review from the review of individual items in the project. Even if item workflow is complete for all items in the project, the updates cannot be published until the project is approved.

    5. On the Properties tab, expand the Access section.

    6. For the Editor access level, click...

        Grant Editor Access

    7. Search for the ContentReviewers group and add it.

      This access is needed to enable the reviewer to view the items in the project and do the approval steps.

    8. Click Save and Close.

    We use access settings on the Publish stage of the workflow to enable authors to create drafts of published content by granting authors Approver access. This approach ensures that authors cannot directly edit published content. The ContentEditors group has Approver access on the Publish stage of the Workflow1 workflow. Because Author1 is a member of the ContentEditors group, Author1 is able to create a draft of the News page.

    To return to the Manage Project page after closing the "News Section Update" page, click Project and select "Open Overview".

  2. Add the News page to the project.

    1. From the open project, News Section Update, click...

        More | Add to Project | Portal Site | Content | Content Root | Home | News | Finish

    2. Close the Projects.

  3. Go to the News page.

    1. From the toolbar, click Create > Page.

      Because Author1 has access only to the News page, the Page tab only lets we create a child page.

    2. Select Template1, and type Business for the name of the page.

    3. Click Create Page.

    Pages created in the portal are stored in the Portal Site library. For example, in this tutorial, when Author1 creates the Business page, a corresponding site area is created in the Portal Site library. The path to the portal page site area includes the entire page hierarchy up to the content root:

      Content > Content Root > Home > News > Business

  4. Add content to the Business page.

    1. Click Content.

    2. Click Web Content from the list of categories. The site toolbar shows a list of preconfigured Web Content Viewer portlets we can add to the page.

    3. Add Rich Text and an Image to the page. Close the toolbar to see the new content on the page.

  5. Click Projects.

  6. When content changes are complete, submit each item in the project for review.


Step 6. Approve changes in the News Section Updates project

General flow...

  1. Reviewer1 reviews the changes and submits the project for approval.
  2. Approver1 accesses the project and approves the updates for publishing
  3. SiteAdmin publishes the project changes to authoring server.


Procedure

  1. Reviewer1 opens the News Section Updates project in edit mode.

    1. Open the site toolbar, and click Projects.

    2. Select News Section Updates from the list of projects.

      The list of projects includes only those projects to which we have access.

    3. For each item, click Publish.

  2. Then Approver1, can open the News Section Updates project and approve the project.

  3. When the project changes are approved, SiteAdmin publishes the project by making the News Update project the current project and clicking Publish from the project menu.

Related tasks:

Preview as another user


Step 7. Syndicate changes to delivery server

After SiteAdmin publishes the project, the updates are ready for syndication to the delivery server. Although syndication runs at scheduled intervals, SiteAdmin accesses the delivery server and manually starts the syndication process.

  1. Log in to the delivery server as an administrator.

  2. Click...

      Administration menu icon | Portal Content | Subscribers | Update subscriber icon


Results

After syndication completes, the delivery server is automatically updated with the Business page and its associated content.