Showing posts with label WebDAV checkout status folders. Show all posts
Showing posts with label WebDAV checkout status folders. Show all posts

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