Configuring Document Revisions in Bookmarks

When the content of bookmark folder is revised, a new revision is not added to the bookmark folder automatically. You need to manually add the new revision of the content to the bookmark folder.

See Also
Configuring Properties
  1. Create or open the text file to contain customized properties. For more information, see Editing Properties Using MQL.
  2. To configure whether to replace the older connected revisions of a document once a new revision of the same document gets connected to the bookmark belonging to specific project types, follow these steps:
    1. Add or edit this line in the file used to import properties into a page object:

      ProjectMgmtExtensions.Bookmark.ReplaceOlderRevisionOnAdditionOfNewRevisionContentFor

    2. The property name is followed by the project or project template type.

      For example:

      type_DesignProject,type_DesignProjectTemplate,type_CAPAProject,type_CAPATemplate

    This configuration is applicable for every "Bookmark Folder" and "Controlled Bookmark" in any state or revision.

  3. In the following steps, activate these triggers:

    Trigger Name Revision
    RelationshipVaultedObjectsCreateAction RemoveOlderConnectedRevision
    RelationshipVaultedObjectsCreateCheck PreventOlderRevisionContentAddition
    RelationshipVaultedObjectsCreateCheck PreventReleasedFolderContentAddition
    RelationshipVaultedObjectsDeleteCheck PreventReleasedFolderContentRemoval

    1. Open MQL from the server and run the MQL command below that sets the context user as admin if the admin user does not have a password:

      MQL>set context user creator;

      If the admin user has a password, run the MQL command where PASSWORD is the admin user password:

      MQL>set context user creator password PASSWORD

    2. Run the MQL command to enable VERBOSE:

      MQL> verb on;

    3. Run the MQL commands below to activate the triggers:

      • modify bus "eService Trigger Program Parameters" RelationshipVaultedObjectsCreateAction RemoveOlderConnectedRevision current Active;
      • modify bus "eService Trigger Program Parameters" RelationshipVaultedObjectsCreateCheck PreventOlderRevisionContentAddition current Active;
      • modify bus "eService Trigger Program Parameters" RelationshipVaultedObjectsCreateCheck PreventReleasedFolderContentAddition current Active;
      • modify bus "eService Trigger Program Parameters" RelationshipVaultedObjectsDeleteCheck PreventReleasedFolderContentRemoval current Active;
      Note: The above MQL commands use the following syntax:

      MQL> Modify bus <TYPE> <NAME> <REVISION> current <STATE>;

      Where

      TYPE – type of business object

      NAME – name of business object

      REVISION – revision of business object

      STATE – target state of business object (for triggers Inactive/Active)

    4. Log in as VPLMAdminUser and reload the cache using the "Utilities > Reload Cache" command in the user interface.
  4. When finished updating the text file with the properties you want to modify, including the ones shown here, use the text file to modify the emxLPI.properties page object. For more information, see Editing Properties Using MQL.