Setting Up Groups

Before a group created using MQL can be used within the ENOVIA products, it must be registered and its name must be added to the string resources properties file.

String resource files follow the same procedure as properties files for editing the contents. You must create a page object using the exact names of the string resource files: emxFrameworkStringResource.properties and emxFrameworkStringResource_en.properties. In addition, you will have string resource files and the equivalent page objects for any language translations you want to provide.

  1. Use the 3DEXPERIENCE platform tools to create all the needed users. Each user is represented in the data by a person object.
  2. Start an MQL session. For more information, see Running MQL.
  3. To set the context for the MQL session, run this command:

    set context user creator;

  4. To create a group, run this command:

    add group <NAME> description <DESCRIPTION> assign person <PERSON_NAME>;

    Where:

    • <NAME> is the name of the group
    • <DESCRIPTION> indicates the purpose of the group
    • <PERSON_NAME> is the name of a person you want to add to the group.

    Include an assign person <PERSON_NAME>; clause for each person you want to include in the group.

    For example:

    add group "Trade Show Support"
       description “Personnel for Trade Show Support”
       assign person elsie 
       assign person mark
       assign person richard
       assign person jenine;

    For more information, see the MQL Command Reference: group Command. To add users to the group after it is created, use the modify group command.

  5. Register the new groups with Collaboration and Approvals using the registration wizard. For more information, see Registering Your Own Administrative Objects.
  6. Create or open the text file to contain customized string resources. For more information, see Editing Properties Using MQL.
  7. Add the group name:

    #Group properties
    emxFramework.Group.<GROUPNAME>=<DISPLAYNAME>

  8. Repeat steps 6-7 for each language to enter equivalent string resources for the strings defined in step 2.
  9. When finished updating the text file with all string resources you want to modify, including the ones shown here, use the text file to modify the page objects. For more information, see Editing Properties Using MQL.
  10. Redeploy the application if an exploded .war file is not being used.
  11. Restart the 3DSpace server and application servers.