Managing Rich Text Editing

You can enable rich text editing for specific types and attributes, and you can disable it for specific types and attributes.

This task shows you how to:

Configure Rich Text Editing

To enable rich text editing, you can either create a text file that lists the types/attributes to be enabled, or you can provide the types/attributes at the MQL command line.

The JPO method performs these steps:


  • Defines the attribute as multiline.
  • Creates a hidden attribute with {NAME}_RTE and adds it to the type that uses the attribute.
  • Adds a trigger to the _RTE attribute to strip off tags and store in the actual attribute.
  • Adds a trigger to the actual attribute to sync with the _RTE attribute if available.

The triggers are distributed by ENOVIA Business Process Services.

  1. To use a file with the type/attributes;

    1. Create a text file named enableRTE.txt that contains the list of types and the attributes that will be enabled with RTE. The file should contain one line for each type in this format:

      type|attributeNames

      All attributes for a type should be listed on the same line.

    2. Using MQL, run this command:

      exec program emxRTEUtil -method enableRTE c:\temp\enableRTE.txt

      where enableRTE.txt is the file created in step 1a. Change the path in this command as needed.

  2. To specify the types/attributes on the MQL command line, run this command:

    exec program emxRTEUtil -method enableRTE '<typeName1>|<attributeName1>, <attributeName2>' '<typeName2>|<attributeName3>, <attributeName4>'

Disable Rich Text Editing

You can disable rich text editing for specific object types and attributes in ENOVIA applications. You can either create a file with the types/attributes to be disabled, or you can specify the types/attributes on the MQL command line.

  1. To use a file with the type/attributes;

    1. Create a text file named disableRTE.txt that contains the list of types and the attributes that will be disabled from RTE. The file should contain one line for each type in this format:

      type|attributeNames

      All attributes for a type should be listed on the same line.

    2. Using MQL, run this command:

      exec program emxRTEUtil -method disableRTE c:\temp\disableRTE.txt

      where disableRTE.txt is the file created in step 1a. Change the path in this command as needed.

  2. To specify the types/attributes on the MQL command line, run this command:

    exec program emxRTEUtil -method disableRTE '<typeName1>|<attributeName1>, <attributeName2>' '<typeName2>|<attributeName3>, <attributeName4>'