Tuesday, June 1, 2010

Enabling Automatic Content ID Generation or Increment in Oracle UCM

The Content ID field needs to be specified manually while checking in content in Oracle Universal Content Management (UCM) Content Server, hitherto known as Stellent. The Content ID for any checked in document in the UCM Content Server needs to be unique and is one of the mandatory metadata required during checkin.

This Content ID can be generated automatically as a number or as a sequence with a fixed String literal as prefix.

Any of the following simple steps can be executed to achieve the same :

  1. Through the GUI : Start the Content Server. This can be done either by running the Admin Service in Microsoft Windows or by running IdcAdmin.exe under /admin/bin. Then go to the Content Server Page in a bowser window; follow the navigation path - Administration > Admin Server > [ServerName] > General Configuration. In this form, select the checkbox "Automatically assign a content ID on check in" and enter the prefix text in the field "Auto Number Prefix"
  2. Through the System Properties: In Microsoft Windows, goto Start menu -> Oracle Content Server  -> [ServerName] ->Utilities -> System Properties. In the Options tab, enable the checkbox "Automatically assign a content ID on check in" and enter the prefix text in the field "Auto Number Prefix"
  3. Through the Config : In the config.cfg file under /server/bin; under the section General Option Variables. Add the following two entries -
         IsAutoNumber=true
         AutoNumberPrefix=[ContentIDPrefix]

Now, Restart the Content Server and login to the Content Server page and check in any document. Once the checkin is through; you can see that the Content ID. During checkin, there is still a provision to override with a different Content ID if the user wishes to; as the field would now be optional instead of a mandatory field.

No comments:

Post a Comment