Wednesday, January 4, 2012

Folder View - Show Checked Out content

     Previous blog talked about how folders can be used to store and organize contents in WebCenter content. Folders component is a must have if we want to use WebDAV feature with WebCenter Content.
     In a document management or records management implementation users would like to see more details about the contents that are present inside the folder apart from the default fields shown. Folders view does not provide search results templates like feature where users add additional columns. One must turn to customization to do it.
   Users usually would like to see various states of the documents while they are browsing for them instead of actually clicking on the info icon of each content.
    This post will show how to show checkedout status of a content. We are all aware of initial song and dance involved when doing any customization. Identify the Service, Template, htm and include. Please refer to my previous post on how to identify above resources for modifying Folder view. Steps 1 to 6 remain same.
   All we need to know is where is the information for checked out status of documents, Resulset CONTENTS has dIsCheckedOut and dCheckoutUser columns which can be used to show the status.

PS: If a user wants to see the list of contents that are checked out then one can use Content Management --> Checked out content link on the home page.
   

Thursday, December 29, 2011

Content Organization and Adding Additional Columns to Folder View

Content organization is a feature that all content management system worth its salt provides. Since most CM system users are predominantly use GUI based operating system and are used to Folders, content management systems have similar  implementation.WebCenter Content provides content organization using Folders_g component. This component was part of Document Management feature in 10g and should be enabled in 11g for users to see them.
Folders in UCM is virtual. i.e when you delete a folder contents that are inside them are not deleted, contents hold reference to folders as a metadata field.
One can create hierarchical folder structure as per business needs add contents to them. Later one can drill down or navigate using folder to find there contents.
But the folder view provides very little information of the contents that are grouped under them.
Default Folder View






Below are the steps to add additional column to this default view. Lets add Title for the content items inside a folder.
  1. Identify the service: If your preffered view is Oracle Top Menus then, one can navigate to the folder and look at page URL. We see COLLECTION_DISPLAY is the service that is used to show the contents of a folders.
  2. Identify the template: Open Folders_g component in Component wizard and look for COLLECTION_DISPLAY service description. We see COLLECTION_DISPLAY as the template name
  3. Identify the htm page: Navigate to \oracle\ucm\server\custom\Folders_g\templates open collectioninterface_template.hda and search for COLLECTION_DISPLAY. we will see collectiondisplay.htm
  4. collectiondisplay.htm is the file that controls the display view of folders
  5. Form here on search begins for the right includes to modify to add one more column to the view.
  6. slim_result_table_header is the include which needs to be over ridden to add a header column.In this include <$loop ListFields$> is the loop that controls the column headers. This result set is part of the java method. Over riding a java method is complex and should be used a last option during customization. There fore after this loop add new column name that should be displayed on the page.
  7.  slim_result_table_content_row is the include which needs to be over ridden to add corresponding column value for each content inside a folder. In this include as well <$loop ListFields$> prints the values for individual items. After this loop add the value that should showed to in the new column. 
  8. We can get the required values from either CONTENTS result set object that is available in this service.
Custom Folder View










Tuesday, December 13, 2011

Related Content Component

Oracle UCM or I should start calling it WebCenter Content,  provides a number of add on components which can be used to mix and match to suit once requirements. These components uses core UCM services and provides additional functionality.  Related Content Component is one such component. This Component allows contents to relate to each other. There are few out of the box relations that can used to relate contents. Below are few limitation that one should be aware of.

  • One cannot do bulk activities around relations, It does allow linking a number of child contents to a given parent in one go, but when you want to un-link you have go with one element at time.
  • It does not allow users to add additional information of the established relation. Lets say we have established relations between Content A and Content B when we look into the relation we have only what  type of relation it is. We cannot add any thing more to it.
  • Replicating relations is a bit tricky. Relations are stored in 'RelatedContent' table and one has to use table replication to replicate to our consumption server.
  • Since we are doing a table replication to consumption server we cannot preview Relations and then publish to live.
  • When we replicate parent contents related contents are not triggered for replication.
Let me know what are your use case for Related Content and challenges faced. May be we can log few enhancement requests

Monday, April 4, 2011

Come Back Blog

I have been off for a long long time from bloging. Reasons are usual work and more work. Past few months was working on a  large migration project. Must say it was a great experience. We have stretched UCM, might I say to its limits and found lots of new features that we never taught existed.

Off late I am seeing lot of question in Oracle forums asking about how to migrate to UCM from other CM products like Intervowen or MCMS, well I have got some good news for them I will be putting upon a blog soon on how to approach this.

There are lot of other things to say about the product, will post them soon.

Thanks Dimitri for putting my blog in additional resources section of his book. Was presently surprised while reading the book :)

Congrats to John for forging forces with Fishbowl solutions. Must say Fishbowl has found an able alliance for there EMEA All the best John

 More soon.