Thursday, March 27

WCP (11.1.1.1.8) Using Navigation Model with Content Query


Goal

Using Content Query with Navigation Model in WebCenter Portal and specify your own content presenter template online.


Environment

WebCenter Portal 11.1.1.8
(Sub-)Portal created with the Portal Template
Some Documents to Display  in a Folder

How to get the FolderID for the CMIS Query ?






Add a CMIS Query to the Navigation Model



CMIS Query with the correct FolderID



IN_TREE - Parameter:

     ucmserver - Content Server Connection

     IDC:Folder/{dCollectionID}


Define our own Content Presenter Template on the Navigation Page




Add a Parameter:

templateView - oracle.webcenter.content.templates.default.detail

The Name of the templateView could be found in the Content Presenter Assets. Select the Asset and show the properties. You get the following informationen:



The view-id is the Parameter you are looking for and by the way no JDeveloper-WebCenter-Portal-Round-Trip-Development is needed !  

Thursday, March 20

How to detect as UCM Greenhorn the right Content Type Property Names for the Content Presenter

Rule #1

Build-In-Property begin always with + Attribute in CamelCase

Sample: WebExtension = dWebExtension

Rule #2

Custom-Property begin always with + Name of the Information Field from Configuration Manager [in CamelCase]

Sample: Comments = xComments



If you have Oracle Database Background and the development machine is yours, you can try following select statement to bring this information into you JDeveloper. 

select column_name,data_type from dba_tab_columnswhere table_name = 'REVISIONS' or table_name='DOCMETA'order by column_name;


Content Presenter Template




Additional Documentation