Displaying a New Document Type

You can display a new document type in Collaboration for Microsoft for the Microsoft Word, Microsoft Excel, Microsoft Powerpoint, and Explorer document type using Save or Save As options.

Note:
  • You have to register the document type before using it from the client side.

  1. 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";

  2. 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.

  3. 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";

  4. 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";

  5. 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.

  6. 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"

  7. Register the new type.
    1. Access ENOVIA Web application.
    2. From the global toolbar, click > Utilities > Property Registration > Admin Type.

      Enter the following:

      Text BoxDescription
      Admin TypeSelect type from the drop down options.
      Un-Registered AdminsSelect the unregistered type
      Symbolic NameEnter the symbolic name.
      ApplicationEnter the application name.
      VersionEnter the application version number.
      InstallerEnter the installer.
      Installed DateEnter or select the installation date.
      Original NameEnter the original name.

    3. Click Create Registration.

The new document type is displayed.