The Oracle middleware enterprise content management system WebCenter Content (WCC) has the possibility to structure data in a folder-like view. Before WCC 11.1.1.6 this was only possible with the folder_g component. Starting with PS6 Oracle provides a second component named FrameworkFolders which will be the successor of the old folders_g functionality.  The new FrameworkFolders is handier and provides much more functionality and performance than the folders_g.

 

Standard folder sorting column

Both components folder_g as well as FrameworkFolders use the folder name or document name to sort the folder child elements. In many cases you want to sort the folder structure by a different metadata than the default.

The following parameters can be used in the search, as URL parameter or in a customization in order to sort the folder resultset.

Sort parameters used for folders_g

folders_g

folders_g

 

The folder_g component does not differentiate between folders and content items in a folder.
Ordering is possible on every folder metadata including custom metadata.

  • orderby (default to dName)
  • direction (default to ASC)

Sort parameters used for FrameworkFolders

 Frameworkfolders

Frameworkfolders

Ordering is only possible on the attributes contained in the FolderFolders table and not on every metadata.

  • foldersSortField (defaults to fFolderName)
  • foldersSortOrder (defaults to ASC)
  • filesSortField (defaults to fFileName)
  • filesSortOrder (defaults to ASC)

Note:

Both, the folder_g and the Frameworkfolder parameters are used in local scope. This means it is not possible to set them globally in the config.cfg of the content server.