Display WCM content in connect servlet :
Using this WCM connect servlet you can display WCM content without using web-sphere portal server.
Using this WCM connect servlet you can display WCM content without using web-sphere portal server.
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:
|
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 :