dm_add_bookmark |
To add a bookmark:
In your local system, create a JSON file that specifies the path within DME for the bookmark, as follows:
|
Run the following command:
|
The following table describes each parameter:
Parameter | Description |
---|---|
[-h] | If you want to print a usage (help) message for this command, specify this option. |
[-D <REST-response>] | An optional parameter, specifying a path and filename in your local system. The system always creates a response file:
|
[-o <status-file>] | An optional parameter, specifying a path and filename in your local system. The system always creates a status file:
|
<bookmark_name> | The name that you want the system to display in the GUI for the bookmark. In this name, the system allows the plus character (+) or the pound character (#), but avoid using other special characters or spaces. |
<description.json> | A path to the JSON file that specifies the path for the bookmark. |
If a bookmark already exists in DME for the specified path, an error message appears with the existing bookmark name.
For example, consider the following command:
|
With the following code in the specified my-bookmark.json file, the command creates a bookmark named MyCollection and associates it with the PI_Lab1 collection:
|
If your user account has the group administrator or system administrator role, the dm_add_bookmark command also allows you to add a bookmark for another user and set permissions for that user at the same time. For information, refer to Adding a Bookmark and Permissions via the CLU.