Defining Available Operators

As an Administrator, you can define the list of advanced logical operators available in the app.

For this purpose, you have to create and install a customized app with a specific configuration.

  1. To create a specific configuration, edit the configuration file.

    By default, the WidgetProperties.json file available at <apache-tomcat_path>/webapps/3DSpace/webapps/FaultTreeAnalysis/assets/config contains the configuration.

    The AvailableOperator variable contains advanced logical operators available in the app. Usual operators, AND and OR, are always available. By default, AvailableOperator lists all advanced operators, as follows: "AvailableOperator": ["NOT", "XOR", "NOR", "NAND", "KOUTOFN", "CARDINALITY"].

    Note:

    KOUTOFN and CARDINALITY operators are nearly similar and both correspond to the VOTE operator available in the app. The only difference is the following:

    • For KOUTOFN, the maximal value is fixed and corresponds to the number of children.
    • For CARDINALITY, the maximal value can be edited by the user by clicking the VOTE operator.

    For more information about all the operators, see Operators.

  2. Remove operators from the AvailableOperator variable and save the file.
  3. To create the customized app with a specific configuration as defined in Step 1, define the following values in the Create Additional App dialog box:

    • Type: Select Widget.
    • Configuration file URL: Enter the URL of the WidgetProperties.json file.

    For more information, see Installation and Setup: Administrate: 3DEXPERIENCE Platform: Platform Management: Members and Roles: Managing Roles: Adding Additional Apps.