Creating or Editing Checkout Views Registry

This section shows you how to change the values that are displayed in Related Documents and Document Versions drop down.

You can edit the MCADInteg-CheckoutViewProgramRegistry object named DefaultViewRegistry to change the values that display in the Related Documents and Document Version drop-down lists in the Checkout, Promote and SaveAs page.

As an alternative, you can clone this object to retain the out-of-the-box settings (as defined in the DefaultViewRegistry) and use the new object to define custom views.

  1. In Matrix Navigator, clone this object or open its attributes for editing:

    Type: MCADInteg-CheckoutViewProgramRegistry

    Name: DefaultViewRegistry

    Revision: 1

  2. Edit the value for any attribute as required. The available attributes are:


    • Attribute: MCADInteg-VerticalNavigationProgNameMapping

      Function: Specifies the program used to display the items in the Related Documents drop-down list when selected by a user on the Checkout page. The program updates the tree structure that lists nodes available for checkout.

      Syntax/Default Value: RelatedDrawing|MCADIntegGetDrawing

      where MCADIntegGetDrawing is an ENOVIA Program object.

      Custom programs can be written to provide alternate views as needed, and should be added to the list of views for this attribute.

    • Attribute: MCADInteg-LateralNavigationProgNameMapping

      Function: Specifies the program used to display the items in the Document Version drop-down list (lateral view) when selected by a user on the Checkout page. The program updates the tree structure that lists nodes available for checkout. The view is also used if an object is in a pre-finalized state.

      Syntax: View|Program|ApplyToTree

      where:


      • View is what displays to the user in the Document Version drop-down list
      • Program is the ENOVIA program object that builds the tree structure
      • ApplyToTree when set to true, the selected view applies to the entire tree structure recursively; when set to false the view only applies to the selected node

      Default Value:

      LatestVersion|MCADIntegGetLatestVersion|true

      LatestRevision|MCADIntegGetLatestRevision|true

      LatestReleasedRevision|MCADIntegGetLatestReleasedRevision|true

  3. Save your changes.

  4. Add the version string to iefStringResource.properties file. For example, the property file is located in, C:\enoviav6b2011x_1027\apache-tomcat-6.0.26\webapps\enovia\WEB-INF\classes.

    You must add the version string in all languages iefStringResource.properties files.

    For example, if the custom Document Version you want to add is LatestVersionCustom, then add the following string in iefStringResource.properties file to show the custom Document version string in the Checkout page.

    mcadIntegration.Server.FieldName.LatestVersionCustom = Latest Version Custom

    Additional programs can be written to provide alternate views as needed, and should be added to the list of views for this attribute.

    The MCADInteg-DefaultLateralView and MCADInteg-DefaultVerticalView attributes (which belong to the DefaultViewRegistry object of type MCADInteg-CheckoutViewProgramRegistry) are deprecated. Users can set their own default values as described in "Setting Preferences" in the Designer Central User's Guide.

  5. If you created a new object, edit the IEF-Pref-MCADInteg-ViewRegistryName attribute for all applicable GCOs to add this object. See Entering GCO Attribute Values.