Professional Documents
Culture Documents
OpenText Automatic Document Numbering 16.3.7 - Installation and Administration Guide English (LLESADN160307-IGD-EN-1)
OpenText Automatic Document Numbering 16.3.7 - Installation and Administration Guide English (LLESADN160307-IGD-EN-1)
OpenText Automatic Document Numbering 16.3.7 - Installation and Administration Guide English (LLESADN160307-IGD-EN-1)
Numbering
LLESADN160307-IGD-EN-1
OpenText™ Automatic Document Numbering
Installation and Administration Guide
LLESADN160307-IGD-EN-1
Rev.: 2019-Sept-16
This documentation has been created for software version 16.3.7.
It is also valid for subsequent software versions as long as no new document version is shipped with the product or is
published at https://knowledge.opentext.com.
Tel: +1-519-888-7111
Toll Free Canada/USA: 1-800-499-6544 International: +800-4996-5440
Fax: +1-519-888-0677
Support: https://support.opentext.com
For more information, visit https://www.opentext.com
One or more patents may cover this product. For more information, please visit https://www.opentext.com/patents.
Disclaimer
Every effort has been made to ensure the accuracy of the features and techniques presented in this publication. However,
Open Text Corporation and its affiliates accept no responsibility and offer no warranty whether expressed or implied, for the
accuracy of this publication.
Table of Contents
1 Introducing Automatic Document Numbering ........................ 5
Attribute Lookups
Provide predefined
values to choose from
for each prefix value
selection.
Text constants
Are used within a
document number for
fixed values that a user
cannot select. For
example, if a document
number is created for a
particular department
within an organization,
the text constant within
the document number
might be a prefix that
defines the department
name.
OpenText™ Content Server Classic View and OpenText Content Server Smart View
support multiple values for ADN Table Key Lookup and ADN ID Attributes.
Multiple Set Attributes containing single or multiple ADN Table Key Lookup and
ADN ID Attributes are also supported.
1. Confirm that the system requirements are met. For more information, see
“Requirements ” on page 9.
2. Install the Automatic Document Numbering module on one of the following
platforms:
• Microsoft® Windows®
• Linux®
2.2 Requirements
OpenText™ Content Server
For information about supported versions and configurations for this release, see the
Automatic Document Numbering Release Notes on OpenText My Support.
This section describes the first step of installing the module. The second step is
described in “Installing Automatic Document Numbering in Content Server ”
on page 11.
Depending on the operating system on which Content Server is running, view one
of the following sections:
1. On the host computer where Content Server is installed, run the <version
number>_ADN64_Win.exe file.
3. In the Select Content Server Service dialog box, select the check box of the
primary Content Server installation where you want to install the module, and
then click Next.
4. In the Start Copying files dialog box, review the options you selected, and then
click Install Now.
The installation program copies the module files to the
<Content_Server_home>/staging folder of the selected Content Server
installation.
Note: If you are already logged in to Content Server with an account that
has Administrator permission, Content Server does not prompt you to log
in again.
4. In the Installable Modules section of the Install Modules page, select the check
box for the Automatic Document Numbering module and click Install.
6. Restart the server running the Content Server installation. When Content Server
restarts, it recognizes the module. For more information, see “Restarting
Content Server ” on page 12.
2. In Control Panel, open the Administrative Tools, and then double-click the
Services icon.
1. Log on to the primary Content Server host as the Linux user that the Content
Server runs as.
Note: If you are already logged in to Content Server with an account that
has Administrator permission, Content Server does not prompt you to log
in again.
4. On the Uninstall Modules page, click the Uninstall button for the
Automatic Document Numbering module.
5. On the Restart Content Server page, click Continue to restart the Content
Server.
• Separators
• Text constant
• ADN ID Attribute
• Seed file generation (For more information, see “Seed file generation using
Workflow” on page 56.)
3.1 Separators
You can set up your document numbers to use separators. Separators are typically
non-alpha and non-numeric characters, for example, a hyphen (-), a backslash (\), a
comma (,) or a period (.).
A separator can be inserted between the different parts of the document number to
help users quickly recognize the document. For example, consider a document
number consists of:
• Department = QA
When you put these components together, the document number displays as
123QAmech. When you include a separator between each component of the
document number, the separator helps a user quickly identify the different parts of
the document number, for example 123-QA-mech.
You can use the following text constant replacement tags for ADN IDs:
%SysDayOfYear%
Three-digit number (1-365) indicating the day of the year
%SysHour%
Two-digit number (0-23) indicating the hour of the day
%SysMinute%
Two-digit number (0-59) indicating the minutes of the hour
%SysSecond%
Two-digit number (0-59) indicating the seconds of the minute
%Space%
A single blank space
%SysDate%
The date as defined in Content Server
%SysYear%
Two-digit number indicating the current year
%SysFullYear%
Four-digit number indicating the current year
%SysMonth%
Two-digit number indicating the current month
%SysDay%
Two-digit number indicating the day of the month
The following list describes the ADN Table Key Lookup Attribute features.
There are different ways you can set up the ADN Table Key Lookup Attribute to
support the range of values, including:
Figure 3-1 shows the definition of an Attribute that selects all ProjectNum values
from a table called ADN_PROJECT. The SQL area displays the query generated from
the field values specified only after the Attribute has been defined and saved.
Tip: For more information about the Add Attribute to page, see “Adding an
ADN ID Attribute to a Category, Form Template, or Workflow” on page 67.
Example 3-1, “SQL query for Oracle” on page 19 and Example 3-2, “SQL query for
SQL Server” on page 19 show the SQL query for the Lookup defined in Figure 3-1.
These examples locate results that begin with the characters entered by the user. A
small variation will allow filtering for text that appears anywhere within the field. It
is also possible to filter on a value specified in another Attribute in the same Form or
Category by replacing the Attribute name 'Project' with the name of the desired
Attribute. For more information, see “ Dependent attribute definition” on page 19.
When you select the Filter Required check box, which is only applicable for Content
Server Classic View, a user must enter at least one character in the field before
clicking the Attribute's Functions menu. This implies, but does not require, that you
have filtering code in place. The Filter Required check box only enforces supplying
a value for the specific Table Key Lookup it is defined in, and cannot require a value
to be entered in other Attributes.
In this example, when Plant A is selected, the values associated to the Attribute
Building Name would be a range value of Bldg1, Bldg2, and Bldg3. When Plant B
is selected, the range value would be IS, Eng, and QA.
Figure 3-2 illustrates the display when using the ADN Table Key Lookup Attribute
defined with the sample values in “Dependent attribute definition example”
on page 20 using the Classic Popup display list type. Figure 3-3 displays the same
data using the Drop Down display list type. Figure 3-4 displays the same data using
the Auto Load display list type.
Figure 3-5 shows the definition of an Attribute that selects only some of the
ADN_BUILDINGNAME values from a table called ADN_BUILDINGNAME. The selection
relies on the value of another Attribute, PLANT_NAME, which is defined in the same
Category or Form definition. This is the dependent part of the definition. A set of
values for one Attribute is dependent on the value in another Attribute.
Tip: For more information about the Add Attribute to page, see “Adding an
ADN ID Attribute to a Category, Form Template, or Workflow” on page 67.
Figure 3-6 shows the definition of an Attribute that selects the results of a
customized SQL statement. In the Table row of the Selection area, when you select
the Custom SQL statement check box, a user can type a custom select query in the
text box. In contrast to the standard popup Attribute definition, values are retrieved
using a custom SQL statement rather than using the standard query.
Notes
Tip: For more information about the Add Attribute to page, see “Adding an
ADN ID Attribute to a Category, Form Template, or Workflow” on page 67.
• Display List Type: Choose how Table Key Lookup values are displayed for the
selection. The options include Drop Down, Classic Popup, and Auto Load.
Drop Down
This display type opens a drop-down list within the same window, as shown
in Figure 3-3. An additional feature of this display type is a Filter field within
the drop-down window. A user can further filter the values that are
displayed in the list after the list has been opened. This filtering will match
values in all displayed fields. Multiple filter entries can be specified. The
following list describes the results that are returned against text in the Filter
field.
– RI
Display rows containing words that start with RI. For example, will
display rows that contain river but not priority.
– *RI
Display rows containing words that contain RI. For example, will display
rows that contain either river or priority.
– RI PR
Display rows containing words that start with RI and words that start
with PR. For example, will display rows that contain both river and
priority.
– RI|PR
Display rows containing words that start with RI or words that start with
PR. For example, will display rows that contain either river or
priority.
– RI|*PR
Display words that start with RI or words that contain PR.
Tip: Multiple entries separated by the pipe symbol (|) display only
rows that contain a field that has a word starting with the first
search item or that contain a field with a word starting with the
second search item.
Classic Popup
This display type opens a dialog box as shown in Figure 3-2.
Auto Load
This display type opens a grid as shown in Figure 3-4. This display type
automatically loads Table Key Lookup values in the grid. You can filter the
results by typing text in the box at the top of the grid.
• Display List Column Widths: This field lets you define, in pixels, the width of
the columns that display the table values. The width of each display column is
defined individually, in order, separated by the pipe symbol (|). This
configuration only applies to the Drop Down display type.
• Maximum Rows in Display List: This field lets you define the maximum
number of rows that display in the selection list. If the maximum number of rows
in display lists is also defined on the Configure ADN Parameters page, the
settings here override the setting on the Configure ADN Parameters page.
• Bounded Field: A bounded field is an additional Attribute field in the Form or
Category that is automatically populated from a table, based on the selection
made for a Table Key Lookup Attribute. The SQL query is modified so that in
addition to the column desired for the Table Key Lookup Attribute, a column
containing the value desired for the bounded field also displays.
Drop Down and Auto Load display types
For the Drop Down and Auto Load display types, the value entered into the
Bounded Field box is the name of the Attribute to be populated, a colon, and
the column number from the query to be used for selecting the value. With
the Drop Down and Auto Load display types, there is the added ability to
have multiple fields bound to the selection choice of one Table Key Lookup.
This is accomplished by separating the separate definitions with the pipe
symbol (|), for example, Plant_Name:2|Description:3|Plant_Code:4.
Classic Popup display type
The value entered in the Bounded Field box is the name of the Attribute to
be automatically populated, a colon, and the column number from the query
to be used to populate it.
With the Classic Popup display type, an Attribute can only have one
bounded field and bounded fields cannot be chained together, but there can
be any number of Attributes in a Category that are bound to others. Also,
bounded fields do not operate within the Advanced Search facility in
Content Server for the Classic Popup display type.
Bounded Field definitions from previous releases of Automatic Document
Numbering are automatically converted along with the Table Key Lookup
display type to the Drop Down display type if the Classic Popup option is
not selected on the Configure ADN Parameters page. (For more information,
see “Configuring general Automatic Document Numbering parameters”
on page 45.)
• Automatic Population: When the query for a simple or dependent Table Key
Lookup returns only a single value, the field is populated automatically. If there
are several Table Key Lookups that are dependent upon one Table Key Lookup
or other field, all of them that find only one result are populated automatically,
while those with multiple results need to be selected by the user.
Automatic population differs from Classic Popup Bounded Fields in that there is
no limit to the number of Attributes that can be populated in this manner, and
that Bounded Fields allow the user to select a specific pairing of Attribute values
with one Table Key Lookup selection when there are several dependent results.
When defining a document number, the natural logic flow is to identify the ADN
type, define the Prefix Elements (which generate the Sequence Number), and define
the Suffix Elements, if any. When defining an ADN ID Attribute, there are standard
Content Server fields associated with any Attribute definition, as well as specific
ADN fields that allow for the identification of the document number. The specific
ADN fields are:
The ADN Type, Prefix Elements, and Suffix Elements are constant regardless of
the option selected in the ADN Creation Option list. Other fields depend on the
option selected in the ADN Creation Option list, and these fields are dynamic.
Notes
• The Length field (a standard Content Server field) cannot contain more 254
characters.
• While individual prefix elements are limited to 64 characters each, the
collective prefix elements of an ADN ID cannot exceed 254 characters total,
and the collective suffix elements have the same restriction. The overall
ADN ID is also limited to 254 characters, inclusive of the prefix and suffix
elements.
Tip: For information about how to open the Add Attribute to page, see
“Adding an ADN ID Attribute to a Category, Form Template, or Workflow”
on page 67.
Prefix elements can consist of Content Server Attributes, including ADN Table Key
Lookup, and text constant definitions. To ensure that all Attribute Lookup elements
are always used in ADN ID generation, you should ensure that each ADN Table Key
Lookup is defined as a required field so that no blank elements are used.
The Toggle Prefix Key determines whether the individual prefix value is used in the
determination of uniqueness for the purpose of generating the sequence number. An
N displayed with an individual prefix element means the component will be a part of
the document number, but will be ignored when determining uniqueness. For this
feature to work properly, there must be at least one prefix element toggled to Y.
ADN IDs generated with only a single Y prefix element would result in the
following numbers:
• Integer: Field
• Integer: Popup
• Text: ADN ID
• Text: ADN Table Key Lookup
• Text: Field
• Text: Popup
Note: Single and double quotation marks are not allowed within ADN ID
prefix elements.
For more information, see “Customizing the start sequence number” on page 46
and “Adding an ADN ID Attribute to a Category, Form Template, or Workflow”
on page 67.
Suffix elements can consist of ADN Table Key Lookup definitions, text constant
values, standard Content Server Attributes, and sheet numbers. To ensure that all
ADN Table Key Lookup elements are always used to generate an ADN ID, confirm
that each ADN Table Key Lookup is defined as a required field so that no blank
elements are used.
The Toggle Suffix Key determines whether the individual suffix value is used in the
determination of uniqueness for the purpose of generating the sequence number. An
N displayed with an individual suffix element means the component will be a part of
the document number, but it will be ignored when determining uniqueness. For this
feature to work properly, there must be at least one suffix element toggled to Y.
Note: If the Add Sheet Number feature is added to an ADN ID, when the
document number is generated, a sheet number is automatically part of the
document number, with the starting number that was defined within the ADN
ID.
For more information, see “Customizing the start sequence number” on page 46
and “Adding an ADN ID Attribute to a Category, Form Template, or Workflow”
on page 67.
ADN types are linked to organization units. You can add and delete ADN types, as
well as edit the Object Association field attached to each one. ADN keeps ADN
types under each organization unit distinct from those under other organizational
units, so it is possible to have an ADN type under each organization unit that is
identically named, and even identically configured, and not have them conflict with
each other.
If you delete an ADN type from an organization unit, the ADN type is not available
to any new ADN IDs but the deleted ADN type is retained in the database to allow
existing ADN IDs to continue to function. For this reason, it is not possible to create
a new ADN type using the name of an ADN type that was deleted from that
particular organizational unit. You can restore a deleted ADN type to make it
available for use in new ADN IDs. To restore a deleted ADN type, locate the ADN
type name associated with the relevant organization unit (as each organizational
unit may have an ADN type with that name) in the AdnTypes table and set the value
of the DeletedFlag column to zero.
For information about how to define an ADN type, see “Defining an ADN type”
on page 44.
The ADN Creation Option provides different ways to define the naming format and
how it is assigned. Based on the option selected, fields are displayed to allow for the
definition of how a sequence number or sheet number is generated. These fields are
the ADN Number Definition Fields. Some of these fields have options to further
define how they are used within a document number. Selecting a specific ADN
Creation Option determines which fields are available in the ADN ID Attribute
definition.
“ADN creation option list” on page 30 lists each ADN Creation Option, provides a
description, and includes the different ADN Number Definition fields that are used
to define each.
Notes
Tip: For information about how to open the Add Attribute to page, see
“Adding an ADN ID Attribute to a Category, Form Template, or Workflow”
on page 67.
Select the options you want in the Quantity and ADN Number Format areas, and
clear the options you do not want in the Auto Generate area.
You can apply the Category to a folder where users upload documents. You can also
apply the Category directly to a document.
You can edit Categories with Auto Sequence Generation set. You can select an
ADN_TKL value if it is defined. If the Auto Generate Number check box was not
selected, you can click Generate Number to generate the number.
Tip: For information about how to open the Add Attribute to page, see
“Adding an ADN ID Attribute to a Category, Form Template, or Workflow”
on page 67.
If the Use Next Available Sequence check box is selected and the manually entered
number is reserved or not available, the system automatically checks for the
available ADN IDs between the specified number and the maximum number. If the
Use Next Available Sequence check box is not selected, the system increments the
maximum number and assigns it.
You can edit Categories with Free Style Sequence Generation set. You can generate
the number by entering the required sequence in the Sequence box, and then
clicking Generate Number.
Tip: For information about how to open the Add Attribute to page, see
“Adding an ADN ID Attribute to a Category, Form Template, or Workflow”
on page 67.
If the Allow Free Text Entry check box is selected, you can enter text in the Generate
Number box when editing Categories. This text is used as the sequence number.
If the Allow NonUnique Number check box is selected, you can enter the same free
text for the same kind of prefix. Otherwise, doing this causes an error.
You can edit Categories with No Sequence Generation set. You can generate the
number by entering the required text in the Generate Number box, and then
clicking Generate Number.
Note: Content Server Smart View does not currently support Sheet Number
Generation.
Tip: For more information about the Add Attribute to page, see “Adding an
ADN ID Attribute to a Category, Form Template, or Workflow” on page 67.
For sheet number generation, you must add a sheet number by clicking Add Sheet
Number in the Suffix Elements area.
The prefix element definition, the sequence to be entered, and ADN Type must be
the same as those of the document or drawing to which the sheet is to be added. For
example, if you have a drawing named media-0001 and you want to add a sheet to
it, select Media in the ADN-TKL list, and then enter 1 in the Sequence # box. To
generate the sheet number, click Generate Number.
If the Manual Entry option was selected in the Sheet Number Entry area, you can
manually enter the sheet number in the Sheet # box.
Tip: For more information about the Add Attribute to page, see “Adding an
ADN ID Attribute to a Category, Form Template, or Workflow” on page 67.
You can edit Categories with Select Allocated Sequence set. You can specify the
number by clicking Select Number, and then clicking a number in the list that
appears in the Document Number window.
Tip: For more information about the Add Attribute to page, see “Adding an
ADN ID Attribute to a Category, Form Template, or Workflow” on page 67.
You can edit Categories with Free Style Sequence Selection set. You can specify the
number by entering it in the ADN_ID box.
You can identify the pending numbers by executing the following SQL query
against the database:
• “Quantity” on page 37
• “ADN Number Format” on page 37
• “Allow Unreserve” on page 38
• “Auto Generate” on page 38
• “Clear Options” on page 39
• “Sequence Number Entry” on page 40
• “Sheet Number Entry” on page 40
Quantity
This field lets the user generate one or more ADNs at a time. The Quantity field has
three areas: Locked, Max #, and Default #. These three areas work together to
determine:
• Locked: This field works in conjunction with the Default # and Max # fields to
determine the number of document numbers that a user can generate.
If the definition of Quantity is locked, the number of document numbers
generated by a user is based on the value identified in the Default # field. Users
have no option. It will create the same number of document numbers each time.
If the definition of Quantity is not locked, the number of document numbers
generated can be selected by the user. The default quantity of document numbers
to generate is based on the value in the Default # field, but users can select how
many document numbers will be generated up to the maximum value in the
Max# field.
• Max.#: This value determines the maximum number of document numbers that
can be generated during the creation of a specific ADN during a session. Default
value is 50.
• Default #: This value determines the default number of document numbers can
be generated during the creation of an ADN during a session. Default value is 1.
345 with a number format of 000N is formatted as 0345. When generating sheet
numbers, this field redefines the number of zeroes that display in the sequence
number of the new ADN ID, not the sheet number field. For consistency, check that
this field matches the ADN ID definition for the original document.
Allow Unreserve
This check box is a feature intended for use when generating a document number
within a Workflow. The Allow Unreserve option gives the ability to unreserve
document numbers that are generated after a Form has been saved and the numbers
reserved.
For example, a Workflow for a document number request can be defined with the
following steps: Request, Approve, and PostApprove. The Request step allows a
user to identify the document numbers to be created. The Approve step allows for
the approval of the requested numbers by another user. The document numbers are
generated and reserved in the ADN Table, and then the Form is saved. The
PostApprove step allows for one final review of the document numbers.
If the Allow Unreserve option is selected, at the PostApprove step, the user can
unreserve the document numbers that have been generated and make them
available to be used again. Only the user who generated the document number can
unreserve that number.
Note: In every instance where the Allow Unreserve option is enabled, the user
who generated the number has the option to return and unreserve that
number. This includes ADN IDs defined in Categories, as well as in Forms and
Workflows. For this reason, it is recommended that the Allow Unreserve
option only be used when necessary. If the rename function is enabled in a
Category setting, a new number, possibly the same one, will be generated
when the change is applied to the document.
Auto Generate
This field, if selected, automatically generates a document number without user
interaction. This option is used when the ADN ID is an Attribute defined within a
Category. Each time a document is created in Content Server, if the Auto Generate
field is selected, the value associated to the ADN ID Attribute is automatically be
assigned.
There are five options that work in conjunction with the Auto Generate field. The
Auto Generate Number option turns on the auto-generation process. The
Regenerate on Change option generates a new ADN ID whenever a Category
Attribute, that is used as a prefix element, is changed. This also renames the object
and version if those options are populated. The Rename Object option allows for
the object being created to be renamed after it is created. The Rename Version
option allows the version of the object being created to be renamed after it is created.
The valid input for the last two options is shown in Auto Generate Field Options
List on page 39. The Set Name Tag to Version Name option changes the operation
of the <Name /> tag within the Rename Version field to reflect the name of the
version being added to the document. For example, if the Rename Version field is
populated with the values <ADN />-<Name />, and document1 and document2 are
added as new versions to the document 007-seed, they will be named in this
manner: 007-document1, 007-document2. The format will stay the same, but the
version name incorporates the original name of each additional version.
Rename Version
Same as Rename Object, but the version is renamed
Any combination of these tags can be used in this field to name the item. For
example, <ADN />-<Name />-<SysDate /> names the object or version with the
ADN value followed by a dash, the original name of the file, a second dash, and the
Content Server system date.
Note: Make sure you place a space between the replacement name and the
forward slash (/), otherwise the Workflow will not replace the actual text.
Clear Options
This field is a feature that is available when you generate a document number within
a Workflow. The Clear Options field gives the ability to unreserve document
numbers that are generated before the Form is saved.
For example, a common Workflow for a document number request may contain the
steps: Request, Approve, and PostApprove. The Request step allows a user to
identify the document numbers to be created. The Approve step allows for the
approval of the requested numbers by another user. The document numbers are
generated and reserved in the ADN Table, and then the Form is saved. The
PostApprove step allows for one final review of the document numbers.
If the Clear Options field is selected, at the Approve step, the user can unreserve
the document numbers that have been generated and make them available to be
used again.
Two options are available when defining this field: Allow Unreserve and Allow
Return.
• Allow Unreserve: Allows you to unreserve the document number, which makes
it available for use by some other object
• Allow Return: Allows you to return the document number to the pool of
predefined numbers for reuse
There are two options for the Sequence Number Entry field: Manual Entry or
Select Attribute.
• Manual Entry: Allows the user to manually enter the Sequence Number. Upon
submitting for a sheet number assignment, a search in the ADN table will be
performed based on the Prefix and Sequence Number entered to determine the
next available sheet number to assign
• Select Attribute: Selects the Sequence Number based on an Attribute. After the
user selects the Prefix and Suffix Elements, a list of assigned sequence numbers
for the selected Prefix and Suffix Elements is displayed
There are three options for the Sheet Number Entry field: Manual Entry, Auto
Entry or Select Attribute.
• Manual Entry: Allows the user to manually enter the sheet number. After the
sheet number is submitted for assignment, a search in the ADN Table is
performed, based on the Prefix and Sequence Number entered, to determine the
next available sheet number to assign
• Auto Entry: Automatically assigns the sheet number upon submission of the
document number, based on the Prefix Elements and Sequence Number selected.
• Select Attribute: Selects the sheet number, based on an Attribute. After the user
selects the Prefix Elements and Sequence Number, a list of assigned sheet
numbers for the selected Prefix Elements/Sequence Number combination is
displayed.
OpenText recommends that you limit the number of people with administrative
access to the Automatic Document Numbering module. It is beneficial to have a
small group of users who have the permissions required to set up and configure the
module for different Projects.
2. On the Add ADN Permissions page, click the Select Users button .
• To grant access to one or more users, click the Grant Access check box for
the user’s name.
• To remove access from one or more users, clear the Grant Access check box
for the user’s name.
2. On the Organizational Units page, click Organizational Units on the Add Item
menu.
3. On the Add Organizational Unit page, type a name for the organization unit in
the Name box, then click Add Item.
4. Add required ADN Types to the organization unit. For more information, see
“Defining an ADN type” on page 44.
2. Click Edit for the Organizational Unit you want to add an ADN Type to.
4. On the Add a Type page, type the name of the ADN Type in the Type Name
box. For example, document, drawing, or tag.
• To associate the generated ADN numbers with the ADN Type, select the
Object Association check box. For example, associate the generated
document numbers with documents. This Attribute determines whether the
ADN numbers generated with it are associated with documents, as with
document numbers, or if they are used but unassociated within Content
Server, as with equipment Tag generation.
• To use the generated ADN numbers but not associate them with the ADN
Type in Content Server, as with equipment Tag generation, clear the Object
Association check box.
6. Click Add Item, then click Update.
a. In the ADN Prefix/Suffix Separators box, type the separators that you
want available when a user defines an ADN ID Attribute. For example,
type: {'-','/',' ','.',''}.
b. In the Default Separator box, type the separator that appears by default in
the Separator list when a users defines an ADN ID Attribute. For example,
type: '-'.
Notes
4. In the Backward Compatibility Settings area, select the Default Classic Popup
check box if you want to always display Table Key Lookup Attributes using the
Classic Popup display type.
5. Click Save.
6. Restart Content Server.
placed in the Prefix column. If you do not include all of the prefix combinations in
the database, the assigned sequence number for any missed prefix combinations will
start at one.
Using the day and month example, if you add a starting sequence number entry for
all the weekdays in combination with January, but not February, and 500 is the
starting value assigned in the table, the sequence numbers generated, in order, is
shown in the following table.
Note: Be sure to include all constants and separators used in the ADN ID
definition. If you omit any of these characters, Automatic Document
Numbering will not recognize the prefix and the assigned sequence
numbers will start at one. For example, entering Mon-Jan instead of Mon-
Jan- results in the desired starting value being ignored. If you are using a
non-default Organizational Unit (OU), you need to include that in the
ADN Type column using this format: OU:ADN type If you are using the
default OU, you only need to use the ADN Type and cannot specify the
OU.
6. Type the number you want to start your sequence number at in the Sequence
Number box.
In Content Server, you can generate a document number using either a Category or
a Workflow.
Category
When a user adds a document to Content Server, if the Category assigned to the
document includes an ADN Attribute, Automatic Document Numbering
automatically assigns a document number to the document.
Workflow
Lets you implement a process to assign and obtain a document number based on
an approval process. Within the Workflow, a process is defined for document
generation. To gather the information during the Workflow process, a Form
Template containing the Attributes needed to generate the document number is
generated. Figure 5-1 shows the steps of a simple Workflow process.
• Request
The step in the Workflow where a user requests a document number. The
user does not have the ability to generate the document number.
• Approve
The step in the Workflow where a user approves or rejects a request for a
document number. The user is the owner of the document number. The user
can review the request and determine the approval status.
• PostApproval
The step in the Workflow where post processes may occur. If all previous
steps have been approved, this is the final phase of the document number
generation Workflow. This step could, however, be the phase that allows a
In this example:
• Project Number is a growing list of Projects for the company. This field is set up
as an ADN Table Key Lookup Attribute in a database table to permit the
addition of new Projects for the company. For more information, see “ADN
Table Key Lookup Attribute” on page 17.
• Department is a static list within the organization. This field can be set up as
either a Text Popup or an ADN Table Key Lookup Attribute. A review of the
relationship between the Project and Department fields shows that the list of
departments per Project is always the same so there is no dependency between
them. Therefore, this field is set up as a Text Popup Attribute.
• Discipline is also a static list within the organization. This field can be set up as
either a Text Popup or an ADN Table Key Lookup Attribute (Dependent Attribute
Definition). A review of the relationship between the Department and
Discipline fields shows that the list of disciplines changes when the
department is selected. Therefore this field is set up as an ADN Table Key
Lookup Attribute ‒ Dependent Attribute Definition.
• E is a text constant that identifies the document as an Engineering drawing.
• Sequence Number is dependent on the selection of the Project Number,
Department, and Discipline values. The text constant is not included in the
Sequence Number assignment.
• Sheet Number is based on the base drawing number generated. Users will be able
to enter the sequence number for the drawing they would like to add another
sheet to.
After the format requirements of the document number are defined, you must set up
Content Server Attributes to support these fields.
Using the document number in the Example 5-1, “Document number format”
on page 51 example, the Department field will use a normal Text: Popup Attribute.
The Project and Discipline fields will use a Text: ADN Table Key Lookup
Attribute. For more information about adding an ADN ID Attribute to a Category,
Form Template, or Workflow, see “Adding an ADN Table Key Lookup Attribute to
a Category, Form Template, or Workflow” on page 66.
Using the document number in the Example 5-1, “Document number format”
on page 51 example, the Suffix Element is a sheet number. When defining Suffix
Elements, the feature Add Sheet Number is used to include a sheet number within
the document number format. By adding this to a document number, Automatic
Document Numbering automatically knows what sheet number to assign a
document number based on the Prefix Elements selected and a specific Sequence
Number.
Note: To add additional sheet numbers, you must create a new ADN ID
Attribute. The Prefix Elements and the Suffix Elements definitions must be the
same as the original ADN ID definition. The ADN Creation Option selection
must be set to Sheet Number Generation. The ADN Number Definition fields
displayed for this option determine how a user enters the Prefix Elements and
the Sequence Number in order to generate additional sheet numbers.
• Comment or note fields where the requestor may provide information about
the purpose of the request
• Fields to identify the requestor (may or may not be the person initiating the
Workflow)
• Date fields, for example, the request date and issued date
Add Attributes to the Form Template in a logical order to help the user create
the document number. The logical order is: prefix elements, sequence number,
suffix elements. The Form should include all of the features required to
successfully generate a document number.
2. Define and create a Workflow Map
Define a Workflow Map that lets users request a document number and that
generates and approves the document number. For information about how to
define a Workflow Map, see OpenText Content Server - Workflow Maps (LLESWFP-
UGD).
At a minimum, the Workflow should include the following steps:
• Request: The initial step of the Workflow where the person requesting the
document numbers can give permission to execute the Workflow, identify
data as it pertains to the document number request, and provide any
comments or notes to the approver.
The Workflow can be executed by the generation of a Form that is tied to the
Workflow, executing a Workflow and selecting the Form, or using Attributes
directly associated with the Workflow.
• Approve: In this step, the person responsible for the document numbers
either approves or rejects the request. If approved, the document numbers
are assigned.
• PostApprove: The final step of the Workflow where the Approver can either
finalize the submittal of the document numbers or provide a mechanism for
the document numbers to be retracted and returned to the document number
pool for reuse.
3. Define Form Custom Views
Define Custom Views that provide users with the appropriate options as the
document number request Workflow is processed. The definition of the
Workflow Map determines the requirements for Custom Views. For information
about how to define a Custom View in Form Templates, see OpenText Content
Server - Forms (LLESFRM-UGD).
Consider the following Workflow steps.
• Request: At this step, a Custom View for the person requesting the document
numbers allows the requestor to identify the document number to be
requested, identify the quantity of document numbers to request, and add
any comments or notes for the approver. Fields or functions displayed within
the Custom View at this step might allow the user to generate a document
number.
• Approve: At this step, a Custom View for the person approving the
document number request allows the approver to review the fields submitted
by the Requestor, specify any additional fields required for the Requestor,
and generate the document numbers or retract the generated document
numbers prior to final submittal.
• PostApproval: At this step, a Custom View for the person finalizing the
document approval process allows this person to finalize the approval
process or retract the document numbers that have been approved.
You configure seed file generation on the Event Scripts tab and the Document
Numbering tab of the Item Handler step in the Workflow Designer. The Document
Numbering tab appears when the Automatic Document Numbering module is
installed.
On the Document Numbering tab of the Item Handler step, you provide the
following information:
The logical place for the source file is within the Content Server environment. This
allows all users access to the source file to create their target files.
When working with CAD files created by Automatic Document Numbering and
OpenText™ CAD Manager, it is important to consider how the title block of a
drawing is populated when a seed file is copied in a Workflow. For the title block
populate correctly in the new documents, the seed file must contain the following
field values when it is created in Content Server:
To verify the values in these fields, select the Specific tab in the document
properties. If these fields are not populated when the document is created, you will
need to replace the document with a new document that contains the correct values.
Note: Automatic Document Numbering uses the most recent version of a seed
file to make a new document through the Document Numbering tab.
The logical target location is within the Content Server environment. This allows all
users access to the newly created files.
Categories are most often stored in a special Categories Volume, which makes the
Categories available to all users. You can add a Category to almost any container or
Workspace where you have permission to add items.
• CRT Post Document Creation, CRT Pre Document Creation, and CRT All
Documents Post Creation: These fields use the OpenText™ Controlled Revision
Tracking module, which works in conjunction with the Automatic Document
Numbering module. These fields display only if OpenText Controlled Revision
Tracking is installed on your system.
• Post Document Creation: This field is used to rename the document after it is
created. If you enter <ADN />, the document name changes to the ADN ID.
• Populate Category: This field allows the Item Handler step of a Workflow to
support mapping data from one or more ADN sources (Forms and ADN
elements) to one or more Categories. This mapping is written in XML format.
Only one Form may be used with this feature, and if multiple Forms are attached
to the Workflow, the first Form attached is the one used for mapping.
This functionality replaces the use of the catmapping.ini file used in earlier
versions of ADN.
• TargetName: The name of the Attribute in the Category receiving the value.
• TargetType: Defined as attribute.
• SourceName: The Attribute name in the ADN or Form that is mapped to the
Category's Attribute.
• SourceType: This value can be either FORM or ADN, and describes the object
the data is mapped from.
Note: Confirm that the Attribute type in the Category matches the Attribute
type in the data source, otherwise, the Category Attribute is left blank.
Sample Here is an example of mapping from a Form Attribute and an ADN number to
Category Attributes in one Category, and an ADN number into a second Category:
Mapping
<mapping>
</object>
</object>
</mapping>
If the target Attribute is in a Category Set, the targetsetname tag must be used
within the object tag, as shown in the following code snippet:
</object>
<object type="system">
<attribute sourcetype="FORM" sourcename="Title"
Item Name
When a seed file is generated, the name of the item that is created can be
composed of text constants and combinations of the following replacement tags:
When used in a Workflow, Workflow tags are also available in the Item Name
and Version(s) Name boxes.
Generate Unique Name
During the creation of the item associated with the document being created,
there may already be an item that has the same name. In this case, when this
option is selected, the Item Handler step assigns a _N (where N is the next
available number) to the name of the object to ensure uniqueness.
Move Document
Select the Move Document check box to have the Item Handler step move the
document identified in the Source area to the location identified in the Target
area. If you clear this check box, the Item Handler step copies the document
from the source location to the target location.
Version(s) Name
Similar to the item name, the name of each version that is created can be
composed of the same elements as the Item Name.
Permissions
When the new document is created, the permissions assigned to the object are
inherited from either the Original folder (source) or the Destination folder
(target). In most cases, the permission of the newly created document is assigned
from the destination folder.
Note: The same Workflow can be used for sheet number, but you must select
Sheet Number Generation type in the ADN ID Attribute.
1. Open the Workflow Designer and create a Workflow Map for seed file
generation. For information about how to create a Workflow Map, see OpenText
Content Server - Workflow Maps (LLESWFP-UGD).
2. Add an Item Handler step to the Workflow and name it Create Document.
3. In the Create Document step, select the Form added to the Workflow and click
Add to Workflow Definition.
4. On the Document Numbering tab, click Add, then do the following:
a. In the Source area, select the seed file you want to use to want to create a
document.
b. In the Target area, select the location where you want to store the new
document.
c. In the Number Definition area, select the ADN ID Attribute. If this is
blank, an error occurs when the Workflow is run.
d. In the Category area, select the Category you want to apply to the new
document.
Notes
• The Category must be applied to the seed file before you can assign
it to the new document using Workflow.
• The Auto generate number check box must not be selected in the
ADN ID Attribute in this Category. If the Auto generate number
check box is selected, the document number will be generated
automatically and assigned to the seed file.
e. In the Functions area, type the required tags in the Populate Category box.
f. Select the required options in the Options area, and type a naming tag in
the Item Name box.
g. Click Add.
5. Assign the Item Handler step to a user in the General area and save the
Workflow.
6. Open the Form, click Generate Number, and then click Apply. The Workflow is
automatically initiated.
7. Open the Personal Assignments for the assigned user to view the Create
Document step.
8. Review the document number which is available in Forms, and click Send On.
The document is created with a document number in the target location.
The ADN number generated this way can also be used within the Document
Numbering tab of an Item Handler step to populate an Attribute on a seed file. The
ADN number can also be used to rename the document by selecting the appropriate
Number Definition in the Document Numbering tab.
1. Open the Workflow Map for edit. For information about how to edit a
Workflow Map, see OpenText Content Server - Workflow Maps (LLESWFP-UGD).
2. Click Attributes on the Map menu, and then add the ADN ID Attribute and all
other Attributes to required to generate the number. If you are using non-
constant values as prefix and suffix elements, OpenText recommends you make
these Attributes required.
The User or User Group assigned to the Item Handler Workflow step must have
Unrestricted Usage Privileges for the following items:
Table 5-1: Workflow step features that require unrestricted usage privileges
To change Usage Privileges for a user, in the Core System – Feature Configuration
section of the Content Server Administration page, click the Usage and Transaction
Privileges link. For more information about Usage Privileges in Content Server, see
OpenText Content Server Admin Online Help - Content Server Administration
(LLESWBA-H-AGD).
For information about other Usage Privileges related to Revision Request processes,
see OpenText Extended ECM for Engineering - Administration Guide (LLESENG-AGD).
Before you can add an ADN Table Key Lookup Attribute to a Category, Form
Template, or Workflow, you need to create the database table and populate some
data in the table. After data exists in the table, you can add ADN Table Key Lookup
Attributes to other objects.
To create a database table for use with the ADN Table Key Lookup Attribute:
2. Type the name of the table you want to create in the Name box, for example,
ADN_AREA, then click Add.
3. Click the Functions menu for the new Form Template, then click Edit.
5. Type the name of the Form Template in the Name field, then click OK.
7. Type a value in the Name box, for example, DESC_E, then click OK. This field
holds the description for each value.
8. Click Submit.
9. Click the Functions menu of the Form Template, and choose Manage
Relational Table.
10. Type the name of the Form Template in the SQL Table Name box.
11. Select Create database table using name above in the Create SQL Table list,
then click Submit.
12. Click the Functions menu for the Form Template, then click Make Form.
14. Select SQL Table in the Submission Mechanism list, then click Continue.
15. On the Add Form page, type a name for the Form in the Name box, then click
Add.
1. Click the Functions menu for the Form, then click Edit.
2. Type the Attribute information in the two fields, then click Apply.
1. Edit a Category, Form Template, or Workflow where you want to add the new
ADN Table Key Lookup Attribute.
2. Click Text: ADN Table Key Lookup in the Add Attribute list.
4. Specify settings for the standard Content Server fields defined for all Attribute
types. For more information, see OpenText Content Server - Categories and
Attributes (LLESWAT-UGD).
5. Select a Display List Type. For more information, see “ADN Table Key Lookup
options” on page 24.
6. Select the Manual Entry Allowed check box in the Data Entry Options area to
allow a user to manually type a value not defined in the lookup table.
7. Type the name of the database table in the Table box. This is the name of the
table that was created to support the table lookup information.
8. Type the name of the database field in the Field From Table box. The value is
used in the ADN ID Attribute to determine the next sequential number and to
add to the document number.
9. Type the database field you want to add to the popup dialog in the Additional
Display Field box. This field is used for information only and provides
additional information about each available option. To add additional fields,
click Add.
10. For advance users, select the or from Custom SQL statement check box in
Table row to create your own SQL statement. Type a custom SQL statement in
the SQL box.
1. Edit a Category, Form Template, or Workflow where you want to add the new
ADN Table Key Lookup Attribute.
4. Specify settings for the Rows, Order, Show in Search, Required, Length, and
Display Length areas according to your requirements. These are standard
Content Server fields for all Attribute types. For more information, see OpenText
Content Server - Categories and Attributes (LLESWAT-UGD).
5. Optional Specify settings in the Prefix Elements and Suffix Elements boxes based
on how you want to define your document number. Do any of the following:
• Click Add Attribute Lookup, then click an item in the Attribute List box.
Select a separator in the Separator list, then click OK. For information about
supported Attributes, see “Supported Attribute Types for Attribute
Lookups” on page 68.
• Click Add Text Constant, then type a text value in the Constant box. Select a
separator in the Separator list, then click OK. For more information, see
“Text constant” on page 16.
• Click an item in the Prefix Elements or Suffix Elements box, then click
Toggle Prefix Key or click Toggle Suffix Key exclude the item from being
used to determine uniqueness. Confirm that an N appears with the element
in the Prefix Elements or Suffix Elements box.
• Click Add Sheet Number in the Suffix Elements area, then type a number
in the Starting Sequence (Integer or Alpha) box. Select a separator in the
Separator list, then click OK. For more information, see “Sheet number
generation” on page 33.
• Click an item in the Prefix Elements or Suffix Elements box, then click
Move Up or Move Down change the order of the item in the Prefix Element
or Suffix Element.
• Click an item in the Prefix Elements or Suffix Elements box, then click
Remove to delete an item from the Prefix Element or Suffix Element.
6. Select a value in the Organizational Units and ADN Type lists to define the
scope of uniqueness for this number sequence. For example, this sequence can
be assigned to the Engineering department. If the same set of prefixes and
suffixes are used for multiple departments or multiple ADN types, you can set a
unique ADN type for each department or type. If different units of your
organization have the same department structure within them, each can be kept
in separate Organizational Units.
7. Select an option in the ADN Creation Option list. For more information about
the different ADN creation options, see “ADN creation option” on page 29.
8. For the remaining fields, specify the appropriate information for your document
number requirements.
9. Click OK.
• Date: Field
• Date: Popup
• Flag: Check box (displays either true or false in the ADN Attribute)
• Integer: Field
• Integer: Popup
• Text: Field
• Text: Popup
• User: Field (displays the user ID in the ADN Attribute)
Note: If an Attribute has values in multiple rows, only the first row of data is
added to the ADN Attribute. All other rows are ignored.
For information about how to use the Document Templates Volume, see OpenText
Content Server User Online Help - Document Templates Volume (LLESDTV-H-UGD).
3. Create a Document Template Volume and assign the Category created in Step 1
to it.
If you have the correct permissions, you can unreserve or delete document numbers
that are pending or reserved. This option works for Non-Controlled Documents
only. You cannot delete ADN IDs of Controlled Documents that are associated with
Controlled Revision Tracking.
3. In the Enter Document Number (or partial number) box, do one of the
following:
4. Select the check box for the ADN ID you want to unreserve or delete, then click
Submit.
• Click Un-Reserve.
• Click Delete.
Using the Transport feature in Content Server, you can move ADN attributes and
ADN transaction data, including the ADN ID and data in the Automatic Document
Numbering database tables, from one installation of Content Server to another
installation. Objects are copied from the source system to the target system.
You do not transport ADN attributes or ADN IDs directly. Instead, you package
Content Server objects that contain ADN information, then you import and deploy
those objects on the target system. For information about how to use the Transport
feature, see OpenText Content Server - Transport (LLESTRP-UGD).
• For ADN attributes, use the Transport feature to package, import, and deploy
Categories, Form Templates, and Workflows that contain ADN attributes.
• For ADN transaction data, use the Transport feature to package, import, and
deploy Content Server nodes that have ADN IDs. ADN transactional data can be
transported for non-controlled documents. Automatic Document Numbering
does not support transport of ADN IDs for controlled documents.
Prerequisites
Before you transport Content Server objects that contain ADN attributes or ADN
transaction data to a target system, confirm that the ADN Sequence Numbers you
are transporting from the source system are not in use on the target system. For
more information about ADN Sequence Numbers, see “ADN sequence number
definition” on page 37.
Also, confirm that the following objects exist on the target system. If the objects do
not exist, create the objects on the target system.
Organization units
For information about how to create an organization unit, see “Creating an
organization unit” on page 44.
ADN type
For information about how to create an ADN type, see “Defining an ADN type”
on page 44.
Users
Users related to the ADN number must exist on the target system, including the
user who generated the ADN number (the Assign By user) and the user
assigned when the ADN number was generated (the Requested By user). For
information about how to create Users, see OpenText Content Server - Users and
Groups (LLESWBU-UGD).