Display IBM WCM content in a servlet without portal server

Display WCM content in connect servlet :

 Using this WCM connect servlet you can display WCM content without using web-sphere portal server.

Table 1. Service options
Service option Details
srv=cmpnt This will retrieve a component either from the component library or from a site area or content item. You must also specify the following: 

source=
This determines where the component is being sourced from. This is either:

  • library
  • sitearea
  • content
cmpntname=[componentname]
This is the name of the component being retrieved.
srv=page This will retrieve a content item. As srv=page is returned as default, this can be omitted from the URL.

The presentation template to use when displaying this content is specified by adding:

presentationtemplate=library/presentationtemplatename


keys and values :- 
wps – portal context
wcm – wcm context
myconnect – servlet context

Example1(Retrieving content directly):- 
http://localhost:10039/wps/wcm/myconnect/library_name/Sitearea_name/Content_Name?srv=page

Example2(Retrieving content by specifying presentation template):- 
http://localhost:10039/wps/wcm/myconnect/library_name/Sitearea_name/Content_Name?srv=page&presentationtemplate=library_name/PT_Name

Example3(Retrieving component by specifying some site-area to have a preview):-
http://localhost:10039/wps/wcm/myconnect/library_name/Sitearea_name/Content_Name?srv=cmpnt&source=library&cmpntname=ATool_component


Here are the some of the book recommendations :

           

Enable GingerCannot connect to Ginger Check your internet connection
or reload the browser
Disable in this text fieldEditEdit in GingerEdit in GingerΓ—

Leave a Reply

Your email address will not be published. Required fields are marked *

Enable Notifications OK No thanks