Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Web Experience Factory 8 Documentation WebSphere Portlet Factory 7 Documentation WebSphere Portlet Factory 7.0.1 Documentation Custom Search Scope...
Search
Community Articles > Web Experience Factory > Samples and Techniques for Web Experience Factory > Web Content Management Authoring Sample
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorJonathan Booth
Contribution Summary:
  • Articles authored: 29
  • Articles edited: 53
  • Comments Posted: 13

Recent articles by this author

Resourced Text Custom Builder

Resourced Text Builder Sample This sample builder lets you apply text from a resource bundle to any number of page locations in a model. This can let you use a single Resourced Text builder in place of a potentially large number of Text builders. The Resourced Text builder looks through all the ...

Text With Image Custom Builder

Text With Image custom builder This is an example of a simple “control” builder that adds a couple of elements to the specified page location. It also shows how a custom builder can be automatically applied to data fields using a Rich Data Definition library along with the Data Field Settings ...

Application Page Sample Builder

This sample builder provides new highlevel builder support for constructing various types of pages in Web Experience Factory (WEF). This builder creates a new page in a model and automates several common page design patterns that can be applied to that page. The builder's inputs are designed to ...

Chart With Drill-Down Sample

Chart With DrillDown Sample The attached samples illustrate how to create a data chart with support for clicking on a bar in the chart to display information related to that item. In this example, the chart shows the total orders for a region; clicking on a region then shows a table of all the ...

Sample XML File Data Service Builder

Sample XML File Data Service builder for quick prototyping and UIfirst development In many situations, it's valuable to be able to create a data provider in Web Experience Factory (WEF) without a dependency on any back end data store. You may want this for: Learning the UIrelated tools of WEF ...

Community articleWeb Content Management Authoring Sample

Added by IBM contributor Jonathan Booth | Edited by IBM contributor Jonathan Booth on July 25, 2012 | Version 3
  • Edit
  • More Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: Portal, WCM
Lotus Web Content Management Authoring builder sample

This sample shows a simple use of the WCM (Web Content Management) Authoring builder to create a custom portlet for creating and updating content stored in WCM. The UI is profiled and optimized for both desktop and mobile devices, as shown in the screenshots below. The WCM authoring builder makes it very easy to create any kind of custom UI for creating and updating WCM content. You can also access workflow functions using this builder, but that isn't demonstrated in this sample.

Here is a screenshot of the UI on a desktop device:


Here is a screenshot of the UI on a smartphone device:


Here is the Update page, in desktop view:


The provider model uses just a single WCM Authoring builder, with List, Create, Retrieve, Update, and Delete operatins enabled, as shown in this screenshot:




WCM Authoring template description

This sample uses an authoring template. You will need to create this Authoring Template in WCM in order to use this sample.

Name: NewsAuthoringTemplate

Display Title: News

Site area: Web Content/Articles

There are three content elements added. You will need to add these to the NewsAuthoringTemplate you create:

– Contents (Rich Text)

– Sector (Text)

– Category (Text) – this one shows up as “CategoryElement” since “Category” is a predefined element

Here is the Element Manager screen from WCM:


In the sample application, the "Name" element must be generated automatically by WCM. To enable this, there's an additional setting you need to make when creating the Authoring Template:

- Select the "Default Content" tab for the Authoring Template.

- At the top, next to "Name:", click the little icon to bring up the "Name Field Properties" form.

- Down near the bottom, click the checkbox for "Generate name. Field will not be editable when visible."

There are two models included:

samples/wcm/NewsService: The provider model, including the Lotus Web Content Management Authoring builder.

samples/wcm/NewsView: The consumer or UI model. This model includes profiling by device type, so that the smartphone view uses a different layout (using the Data Layout builder).

There is also a custom HTML page to define the layout for the details, create, and update pages, for desktop mode.


  • Edit
  • More Actions Show Menu▼


expanded Attachments (1)
collapsed Attachments (1)
Edit the article to add or modify attachments.
File TypeSizeFile NameCreated On
application/x-zip 8 KB wcm_authoring.zip 4/6/12 4:24 PM
expanded Versions (3)
collapsed Versions (3)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (3)Jul 25, 2012 3:14:03 PMJonathan Booth  IBM contributor
2Apr 6, 2012 4:41:01 PMJonathan Booth  IBM contributor
1Apr 6, 2012 4:30:42 PMJonathan Booth  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • BlogsIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use