If you created a bookmark, you can update that bookmark.
In your local system, create a JSON file that specifies the path within DME for the bookmark, as follows:
{"path" : "/Path/To/Bookmark"}Run the following command:
dm_update_bookmark [optional parameters] <bookmark_name> <description.json>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:
- If you specify this parameter, the system saves the response from the server to the specified file in the specified location.
- If you omit this parameter, the system saves the file as update_bookmark-response-header.tmp in your home directory.
[-o <status-file>] An optional parameter, specifying a path and filename in your local system. The system always creates a status file:
- If you specify this parameter, the system saves the status to the specified file in the specified location.
- If you omit this parameter, the system saves the status as update_bookmark-response-message.json.tmp in your home directory.
<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.
- To view the bookmark in the GUI, log out of DME and log in again. Refer to Logging In via the GUI.
For example, consider the following command:
With the following code in the specified my-bookmark.json file, the command updates 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_update_bookmark command also allows you to update a bookmark for another user and set permissions for that user at the same time. For information, refer to Updating a Bookmark and Permissions via the CLU.