DS WhitePapers DataModelCustomizerTool
DS WhitePapers DataModelCustomizerTool
3DS.COM
3DS.COM © Dassault © Dassault Systèmes
Systèmes
V6R2013x
Data Model Customizer Tool
Executive Summary
It allows the administrator to customize the data model by creating new types,
attributes, environment, etc.
The goal is to have a data model closer to the business process of the
Company or Organization.
The goal of this paper is to detail the concepts and the procedures for
Administrator in order to facilitate the usage of the Data Model Customizer
Tool.
2
Data Model Customizer Tool
Contents
1. Concept and terms......................................................................................................... 4
1.1. DMC use .................................................................................................................... 4
1.2. Key terms ................................................................................................................... 4
1.3. Schema ...................................................................................................................... 5
2. Launch and configure the DMC tool ............................................................................... 5
2.1. Launcher .................................................................................................................... 5
2.2. Configuration .............................................................................................................. 5
3. Create a customized data model.................................................................................... 6
3.1. Create the customization ............................................................................................ 6
3.2. Create the type ........................................................................................................... 7
3.3. Create the attributes for the type ................................................................................ 7
3.4. Define the identifier set for the type ............................................................................ 8
3.5. Save the customization .............................................................................................. 9
3.6. Create the environment .............................................................................................. 9
Data Model Customizer (DMC) tool is used to customize the data model for the old typing.
That means DMC tool can be used on V6 releases, since V6R2011 to V6R2013x.
For the new Typing, since 3DEXPERIENCE R2014x, new tools have been deployed, named
ENOVIA Knowledge Standardization (KWD) and ENOVIA Data and Behavior Administration
(DMA)
With DMC tool, the Administrator creates a customized environment, containing customized
modelers, composed of customized types with customized Attributes.
Identifier set: set of attributes that are used as a key for identifying the objects of a
type, and ensure the uniqueness.
4
Data Model Customizer Tool
1.3. Schema
2.1. Launcher
According the OS of the server, the path to launch DMC tool is not the same:
2.2. Configuration
5
Data Model Customizer Tool
6
Data Model Customizer Tool
Each time a type is derived, it is removed from the list. So the same type cannot be derived
twice in the same customization
Default value (excepted date and mulivaluated attributes): At the creation of the
object, the default value is automatically setted for the attribute
Protection flag:
User: The attribute cannot become a part of the identifier set (see 3.4)
Free: The attribute can be a part of the identifier set and API can get and set
its value.
7
Data Model Customizer Tool
Max length (string attribute only): specify the max length of the string attribute. If it is
not set, the max length is 32 characters.
Mandatory (string attribute only): the object creation is blocked if the mandatory
attribute is not specified.
Reset on new version: if the box is checked, when an object is versionned (New
Version command), the attribute is reset (eventually to the default value if exists)
Reset on cloning: if the box is checked, when an object is cloned (Duplicate or
Propagate as New commands), the attribute is reset (eventually to the default value
if exists)
Multivaluate: if the box is checked, the attribute is not a single value but a set of
values. The multivaluation type is:
List: Elements are identified by their position in the list. Duplicate values are
supported.
Set: Elements are identified by their value. Duplicate values are not
supported.
Enumeration: When the Attribute
type is enumeration, click on Select
/ Edit or create to define the
enumeration list.
In the enumeration panel, you can
add new value to the list and
For some types (the ones derived from VPMReference and VPMRepReference in the
example), you have to define the identifier set. It is an index key
used to uniquely identify objects associated with a type in the
database. It is composed of the values of one or more attribute
strings concatenated together.
8
Data Model Customizer Tool
9
Data Model Customizer Tool
When the authoring and usable customization list are finished, click on create.
If some customization are missing (some modelers don’t have customization in the lists), the
following page is shown. The list of modelers without customization is shown, and the self-
completeness button allows to automatically fill the environmnet with missing
customizations (the sample DS customizations are added for missing modelers).
Remark: The authoring and usable lists can also be copied from another existing
environment (like VPM for example) by using the Import from another environment…
command.
10
Data Model Customizer Tool
Generate
Backup
4.1. Generate
11
Data Model Customizer Tool
4.2. Backup
In this step, a backup of all important files on the server/STAGING directories is made,
because the publish step will overwrites these files on the ENOVIA server installation.
12
Data Model Customizer Tool
4.4. WarUtil
This step has to be done manually. Click on Tools > 5) Deploy on server… to see the
instructions:
Deploy the war file in you Web Application Server: same procedure as for the
ENOVIA Unified Live Collaboration installation.
Execute all mql files located in ENOVIA Live Collaboration Server/DMCmql directory:
The administrator must execute all MQL scripts to create the customizations in the
database, using MQL console. For example:
<MQL>set context person MyAdministrator;
<MQL>set env VPMAdministrator MyAdministrator;
<MQL>run /server/DMCmql/CUS_MyProductCustomization.0.mql;
13
Data Model Customizer Tool
4.6. Commit
14
Data Model Customizer Tool
The new customized data model could be exported from the current server in order to deploy
the same in another server (from example from the development server to the test server, or
from the customer server to the support server).
The environment, customizations and eventually the mask can be exported, that allows to
not re-creating them manually but only run the deployment steps on the new server.
Then open DMC and click on File > Import from server...
15
Data Model Customizer Tool
The working folder has been copied to the new server and can now be used for the
deployment of the data model in this new server.
Launch DMC in the new server and specify the copied working folder, using Tools >
Options.
Close and restart DMC. A message is displayed to inform that the environment has been
found in the working folder and loaded. These environment need to be published.
Then the deployment of the customized data model can be done in this new server by
following exactly the same step as in Chapter 4 (Deploy the customized data model).
16
Data Model Customizer Tool
6. Summary
In this paper, we have seen the concepts and the procedures to:
7. Related documentation
In the DS documentation for V6R2013x, refer to the chapter ENOVIA Development and
Configuration | Unified Live Collaboration | Studio Modeling - VPM Data Model Configuration
In the knowledge base, refer to the QA00000033539 for the sharing of the customized data
model with support.
Document
Revision Date Revised By Changes/Notes
17
Data Model Customizer Tool