Create a custom launch page

 

+

Search Tips   |   Advanced Search

 

You can configure an authoring portlet to use a launch page of your own design instead of the default user interface.

A custom launch page can either be a JSP or HTML file. It must be stored in the WAR file directory for the Authoring portlet:

...where cell is unique to your installation.

You use remote actions to call different views and functions from with the authoring portlet's user interface. You use the Web content API to add other functions to your launch page.

Once you have created a custom launch page, you then configure your authoring portlet to use the custom launch page instead of the default authoring portlet user interface.

 

A custom "create and view content" launch page

This is a simple example of a table that you can add to a JSP or HTML file to allow users to create and view content items using remote actions.

<table>
<tr><td>
<a href="?wcmAuthoringAction=new&type=com.ibm.workplace.wcm.api.WCM _Content"> Create new Content</a>
</td></tr>
<tr><td>
<a href="?wcmAuthoringAction=openmainview&view=contentbytitle"> Open content by title</a>
</td></tr>
<tr><td>
<a href="?wcmAuthoringAction=openmainview&view=contentbysitearea"> Open content by site area</a>
</td></tr>
</table>

Reloading JSP files

JSP files referenced by WCM are reloaded once every 10 seconds. If you update a JSP file, you may need to wait for it to be reloaded before your changes will be displayed.

 

Parent topic

Extending WCM