Downloading and Uploading Configuration Files from the Options Tab

You can download and upload configuration files from the Options tab of the Information panel.

This allows you to update the configuration of the Information panel, and of the New … dialog boxes for object types that support it (for example, New Product command).

Note: The updated configuration has no impact on the Classifications tab.

Important:
  • If you upload a configuration file from the Facets Management, Forms Options, or Properties Options section, you must upload it again after each upgrade.
  • If you upload a mask file from the Mask Management section, if the content of the default mask file for a type is modified in an upgrade, the new default mask file replaces the customized mask file during this upgrade. The customized mask file for this type is automatically saved as a backup, and the Backup button is displayed in orange.

    Review the content of the new default mask file and update your customized mask file according to your needs. Then, upload the updated mask file.

Required responsibility:Administrator.

  1. Select an object and open the Information panel, for example from Bookmark Editor or Product Structure Editor.
  2. Click the Options tab.
    The Options tab displays actions for the following configuration files:
    Section Description
    Facets Management Lets you manage the enoPropertiesFacetsParameters.json file. This file enables you to restrict the display of each tab to some object types.
    Warning: For the extreme business case, the modification is restricted to avoid displaying tabs that the object type does not support. If required, you can:
    • Either remove object types from authorizedTypes
    • Or add object types to forbiddenTypes
    You cannot do both at the same time. It is recommended to not edit this file at all. However, if you do, verify after every upgrade that your modifications remained. And restore when necessary.
    Forms Options Lets you manage the enoMaskOptions.json file.

    Recommendation: The settings contained in this file are deprecated. Do not use them.

    Properties Options Lets you manage the enoAttributesOptions.properties file. This file enables you to:
    • On premises only: Specify the maximum number of objects that users can select to view and modify their properties in the Properties tab of the Information panel.

      Specify the number of your choice as follows:

      "attributeOptions.MaxMultiSelectionLimit": "20"

      Important: Do not modify this limit on the cloud.
    • Specify whether PLMParameter attributes are displayed in the Properties tab of the Information panel.

      To display the PLMParameter attributes, define the value of the attributeOptions.readPLMParameter parameter to true.

      Important: Displaying PLMParameter attributes might lead to performance issues.

      By default, they are not displayed.

    Mask Management Lets you manage the mask files for the different object types. These files enable you to define the properties to display for the object type in the Properties panel and in the New … dialog boxes if the object type supports it (or example, New Product command). You can also specify the behavior of each property (for example: mandatory, editable, restricted values), and the order in which they are displayed.

    Note: If no mask file exists for a subtype, the mask file for the parent type is used (customized mask file if any, or the default one for the type). If there is no mask file for the parent type, the Default.json mask file is used.

    For more information, see Mask File Syntax for Properties.

  3. If you are working with mask files in the Mask Management section, in the search field of the section, search and select a type or subtype of object, a relationship, or an extension.
  4. To download the current configuration file stored in the database, click Download in the corresponding section.

    Note: For mask files, it downloads the mask file used for the type you selected. For more information, see Step 2.

  5. To upload a new version of the configuration file in the database, click Upload in the corresponding section.
    The uploaded file replaces the existing configuration file in the database, and the changes are visible in the user interface the next time users open the Properties or Information panel, or the New … dialog box.
  6. To download the default configuration file, click Original in the corresponding section.

    For mask files, it downloads the default mask file used for the type you selected at Step 2.

    When no default mask exists for the type that you selected (for example, if you selected an extension), a skeleton of the mask file is downloaded instead of a real mask file. You can modify it according to your needs, using the mask file syntax. For more information, see Mask File Syntax for Properties.

    Important: In that case, the downloaded file contains a comment line indicating that the file is only a skeleton. Remove this comment and any other section that does not comply with the mask file syntax before uploading your updated mask file.

    Important:

    On premises, only use the Options tab to modify your configuration file and upload it. Otherwise, the default configuration might not be accessible anymore.

    If you manually replace those files in /home/data/RTV/[serverName]/apache-tomcat/webapps/3DSpace/WEB-INF/classes/resources/masks with a modified version instead of using the Options tab:

    • The configuration is not applied to the user interface.
    • The Original command downloads this version of the file instead of the default one, which does not exist anymore.

  7. For mask files, to download the previous version of the customized file, click Backup in the Mask Management section.

    Every time you upload a customized mask file for an object type, the previous version is saved as a backup. This is the mask file that you can download, and restore if required with the Upload command.

    Note: Only the latest previous version is saved as a backup. You cannot download other previous versions.