How to create a new object class
Note: This information can also be found in the
DocuShare 7 Administrator Guide.
a new object class
the Administration menu, click Object
Properties | Custom Object. The Custom Object page appears.
Name field, enter a name for your
This is the classname that the system reads.
The name you enter must be part of the ASCI character set (A ~ Z, a~z, 0~9),
underscores accepted but no spaces allowed, and follow a 32 character maximum
length. The classname must begin with a letter.
Never use “document” or part of the word
“document”, such as “docu” or “doc”, as the name or part of the name of a
custom object or custom property.
In the Label field, enter a label for your
This is the name of your class as it appears on
the property page. The label you enter may be upper or lower case, and may
contain numbers, special characters, and spaces.
DocuShare does not translate custom property
labels. If you give a custom property an English label and someone views your
site in French, the system displays the property name instead of the property
label. To correct this, in the French version of your site, you must manually
enter a French property label by clicking the Edit button next to the custom property, entering the French
equivalent of the English word(s) in the Label field, and then click Apply.
the Clone menu, select an object
Your new object inherits the properties of the
object that you select from the Clone menu. Your new object class creates a new
handle name that is based on the object name. For example, if the name is
Invoice, the handle will be Invoice-#.
A property page appears displaying the
properties of the custom object that you just created.
Note: Immediately after you create a custom
object class, the property page displays only a few of the properties of the
clone. This is normal and indicates that you haven't yet updated the site
database. After you click Submit on the Update Properties page, DocuShare adds
the custom object class to the site database, so the next time you open the
properties page of the new custom object class, all of the properties of the clone
will be displayed.
Click Object Properties | Update Properties.
The Update Properties page appears.
your changes and if necessary, return to the object property page to modify the
you are satisfied with your changes, click Submit.
DocuShare saves your changes and applies them to your new
Solution Published: July 6, 2016
Solution ID: 1799