Add a link to the Web Content Authoring portlet in Content
Content forms in the Web Content Authoring portlet can be accessed via a URL. This means that it is possible to add a link to Content items that, when rendered in a Web Page, allow authorized users to navigate to the Content item in the Web Content Authoring portlet. To create a link to a Content form in the Web Content Authoring portlet you will need to do the following:
Create a Navigator Create a Navigator with the following settings. This is used to retrieve the ID of the Content item. In this example the Navigator has been named "UILinkNav":
- Name: UILinkNav.
- Start Type: Current - Content.
- Selected Start Area: None.
- Include Start: Yes.
- Ancestor Level: None.
- Descendant Level: None.
- Preceding Siblings Level: None.
- Next Siblings Level: None.
- Show Site: No.
- Show Content: Yes.
- Expand Current: No.
- Highlight navigator content using component designs: No.
- Component Design 1:
<a href=" http://[HOST]:[Port]/wps/myportal /wcmAuthoring?WCM_COMMAND=opencontent&ID= <placeholder tag="Idnum" /> "> <placeholder tag="Name" /> </a>- Grant Live Access: Grant Live access to the users or groups who need access to the Web Content Authoring portlet link on the rendered Web Page. Note: also grant Edit Access on Content items to allow users to edit the Content item after it is opened in the Authoring Portlet (Web Content Authoring).
Reference the Text Component in a Presentation Template There are two ways to reference "UILinkNav" in a Presentation Template:
- To display "UILinkNav" to authorized users and groups in all Web Pages using a Presentation Template then reference "UILinkNav" directly in the Presentation Template using a Library Component tag:
<AptrixLibCmpnt name="UILinkNav" />- To display "UILinkNav" to authorized users and groups only on some Web Pages, add the "UILinkNav" component as a component reference within each Content item requiring Web Content Authoring access. You then add this Component Reference to the Presentation Template:
<AptrixCmpnt type="content" context="Current" key="UILinkNav" />
Note:
- Only users and groups that have "Live" access to "UILinkNav" will see the link on the rendered Web Page.
- Only users and groups that have "Edit" access to a Content item will be able to edit the Content after it is opened in the Authoring Portlet (Web Content Authoring).
Parent topic: Web Content Management Examples.
IBM Workplace Web Content Management - V5.1.0.1 -
Workplace Web Content Management is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.