How to Dynamically Assign a Prefix when Using Auto Numbering (Doc ID 445380.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Universal Content Management - Version: 5.0 to 10.1.3.3.3 - Release: Stellent to 10gR3
Information in this document applies to any platform.

Goal

How can I dynamically assign a prefix when using Auto Numbering? I want the Content ID assigned on check in to be different depending upon my metadata.

Disclaimer: This is not a core configuration. This is a custom feature extension of the software and is therefore only supported via the purchase of Consulting Services effort.. With all customizations, when you upgrade your software, the custom changes may be overwritten.

Each item in the Content Server is stored with a unique Content ID (dDocName). If your Content Server configuration is setup for auto numbering, the Content ID will be automatically assigned by the Content Server, for example HR_DOC_005000.

You can configure your server to assign a prefix using the Auto Number Prefix, for example an Auto Number Prefix value of HR_ will generate HR_005678, as a Content ID.

Additionally, the Auto Number Prefix can be used with Idoc scripting to dynamically assign a prefix based on metadata values. The examples below illustrate some ways Idoc scripting can be used.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms