ABC Documentum Customization - Part 2
Apr 28th 2007alexander.zubanDocumentum

The other simple customization you may do with the Application Builder this is
Manage attributes which were visible on the property mask
To do this edit selected type and navigate to “Display Configuration” tab. And just add attributes you want to see.
NOTE: That you need to manage visible attributes for each client scope, so Webtop and Desktop Client may have different set of visible attributes.


Also you may add more tabs to group attributes according to some logic.

After these simple steps you will get the following results.
- New Document

- Properties - “Info Tab” with customized attributes

- Properties - Additional Custom Tab

Notice, that you make this job without single line of code!
Provide list of available values for the user
The other things you may do to be more attentive to your users this is provide them with a list of possible values. I write some about in Data Forest post. To do this you need to edit target attribute and navigate to “Value Assistance” tab.

Several options available as a source for the available values.
Fixed List - this is the simplest way; it is suitable for the limited and non changeable values (e.g. Country regions, Time Zones, Object States, abbreviations). All you need in this case - just add each value in a single line.
Query - this option allow specify a query to populate list of values. If your user don’t need to edit list of possible values often you may use registered table in other case it is better to create a folder structure and populate values as a folder names or other attributes. Also with this way you may show value from one attribute (table field) but save value from other attribute. This is comfortale when you have list of abbreviations which is hard to remember, so you may show description, but store abbreviation itself.

NOTE: For each option you may specify that list not complete, so in this case Webtop/Desktop will allow adding value different to values in the list, in other case this will be not possible.
Here is a template DQL to create a registered table in DB and Documentum. You may execute it with idql32 command line tool or with the Documentum Administrator DQL executer.
#Enable this lines if you run this script several times#execute exec_sql with query = 'DROP TABLE reg_invoice_type';#go#this statement create table in the DB schema, note, that raw SQL used here, so this part dependents from DBexecute exec_sql with query='CREATE TABLE reg_invoice_type(invoice_type varchar2(5),invoice_type_info varchar2(30))'go#Enable this lines if you run this script several times#unregister table reg_invoice_type#go#register object in Documentumregister table dm_dbo.reg_invoice_type(invoice_type char(5),invoice_type_info char(30))go#setup table permissionsupdate dm_registered object set owner_table_permit=15 where object_name='reg_invoice_type'goupdate dm_registered object set group_table_permit=1 where object_name='reg_invoice_type'goupdate dm_registered object set world_table_permit=1 where object_name='reg_invoice_type'go#fill table with valuesINSERT INTO dm_dbo.reg_invoice_type(invoice_type,invoice_type_info)VALUES ('T1','Loan Bill')goINSERT INTO dm_dbo.reg_invoice_type(invoice_type,invoice_type_info)VALUES ('T2','Utility Bill')go#test the valuesselect * from dm_dbo.reg_invoice_typego
Wow, here is a result, now your uses for sure will not make any typo mistake.









