-
You can define a new custom type using MQL commands. To
Derive CustomType from
Office Document or Document type use the below MQL commands.
add type "CustomType" derived "Document";
-
Add the new types to governing policies using the below MQL command. Consider that the
type is governed by the policy, Document Release. In the Document Release policy, add
"CustomType" to the governed types.
modify policy "Document Release" add type "CustomType";
Note:
The new type can either be added to the existing policies being used, or new
policies can be defined to govern these types.
-
Add the type in
MCADInteg-BusTypemapping
considering you are
working for the Microsoft Word application.
Retrieve the earlier mapping and add new mapping into it:
print bus MSOffice-GlobalConfig MSOfficeNewArch TEAM select
attribute[MCADInteg-BusTypeMapping];
"msword|MS Word Document,Document,MS Word Template,CustomType
msexcel|MS Excel Document,Document,MS Excel Template
mspowerpoint|MS Powerpoint Document,Document,MS Powerpoint
Template
msoutlook|MS Outlook Document,Document,MS Outlook Template
outlookattachment|MS Outlook Attachment
mswin|Document,MS Word Document,MS Excel Document,MS Powerpoint Document,MS
Outlook Document,MS Word Template,MS Excel Template,MS Powerpoint Template,MS Outlook
Template,CustomType
image_jpg|Derived Output";
-
Add the type in
MCADInteg-TypePolicyMapping
considering you are
working for the Microsoft Word Application
Retrieve the ealier mapping and add new mapping into it:
print bus
MSOffice-GlobalConfig MSOfficeNewArch TEAM select
attribute[MCADInteg-TypePolicyMapping];
modify bus MSOffice-GlobalConfig MSOfficeNewArch TEAM
MCADInteg-TypePolicyMapping
"CustomType|Document Release
MS Word Document|Document Release
MS Word Template|Document Release
MS Excel Document|Document Release
MS Excel Template|Document Release
MS Powerpoint Document|Document Release
MS Powerpoint Template|Document Release
MS Outlook Document|Document Release
MS Outlook Template|Document Release
MS Outlook Attachment|Document Release
Document|Document Release
Derived Output|Derived Output Policy";
-
Add the type in
MCADInteg-TypeFormatMapping
considering you are
working for the Microsoft Word Application.
Retrieve the ealier mapping and add new mapping into it:
print bus
MSOffice-GlobalConfig MSOfficeNewArch TEAM select
attribute[MCADInteg-BusTypeMapping];
modify bus MSOffice-GlobalConfig MSOfficeNewArch TEAM
MCADInteg-TypeFormatMapping
""msword|MS Word Document,doc
msword|MS Excel Document,doc
msword|MS Powerpoint Document,doc
msword|MS Outlook Document,doc
msword|Document,doc
msword|CustomType,doc
msexcel|MS Excel Document,xls
msexcel|MS Word Document,xls
msexcel|MS Powerpoint Document,xls
msexcel|MS Outlook Document,xls
msexcel|Document,xls
mspowerpoint|MS Powerpoint Document,ppt
mspowerpoint|MS Word Document,ppt
mspowerpoint|MS Excel Document,ppt
mspowerpoint|MS Outlook Document,ppt
mspowerpoint|Document,ppt
msoutlook|MS Outlook Document,msg
msoutlook|MS Word Document,msg
msoutlook|MS Excel Document,msg
msoutlook|MS Powerpoint Document,msg
msoutlook|Document,msg
mswin|MS Word Document,generic
mswin|MS Excel Document,generic
mswin|MS Powerpoint Document,generic
mswin|MS Outlook Document,generic
mswin|Document,generic
mswin|CustomType,generic
outlookattachment|MS Outlook Attachment,generic
mswin|Document,generic
outlookattachment|MS Outlook Attachment,generic
image_jpg|MS Word Document,Image
image_jpg|MS Excel Document,Image
image_jpg|MS Powerpoint Document,Image
image_jpg|Derived Output,Image
msword|MS Word Template,generic
msexcel|MS Excel Template,generic
mspowerpoint|MS Powerpoint Template,generic
msoutlook|MS Outlook Template,generic
mswin|MS Word Template,generic
mswin|MS Excel Template,generic
mswin|MS Powerpoint Template,generic
mswin|MS Outlook Template,generic";
Note:
The business policy must support the format used here.
-
To create version of object when using custom type, modify attribute in
IEF-Pref-MCADInteg-DefaultTypePolicySettings
considering you are
working for the Microsoft Word application.
Retrieve the ealier mapping and add new mapping into:
print bus MSOffice-GlobalConfig MSOfficeNewArch TEAM select
attribute[IEF-Pref-MCADInteg-DefaultTypePolicySettings];
modify bus MSOffice-GlobalConfig MSOfficeNewArch TEAM
IEF-Pref-MCADInteg-DefaultTypePolicySettings
"(ENFORCED)CustomType|CustomPolicy,Version
(DEFAULTVALUE)MS Word Document|Document
Release,CustomPolicy,Version
(ENFORCED)MS Word Template|CustomPolicy,Version
(DEFAULTVALUE)MS Excel Document|CustomPolicy,Document
Release,Version
(ENFORCED)MS Powerpoint Template|Document Release,Version
(ENFORCED)MS Outlook Document|Document Release,Version
(ENFORCED)MS Outlook Template|Document Release,Version
(ENFORCED)MS Outlook Attachment|Document Release,Version
(DEFAULTVALUE)Document|CustomPolicy,Document
Release,Version"
- Register the new type.
- Access ENOVIA Web application.
- From the global toolbar, click .
Enter the following:
Text Box | Description |
---|
Admin Type | Select type from the drop down options. |
Un-Registered Admins | Select the unregistered type |
Symbolic Name | Enter the symbolic name. |
Application | Enter the application name. |
Version | Enter the application version number. |
Installer | Enter the installer. |
Installed Date | Enter or select the installation date. |
Original Name | Enter the original name. |
- Click Create Registration.