Page History
Excerpt | ||
---|---|---|
| ||
dm_add_bookmark |
Note |
---|
This page is a work in progress. |
Include Page | ||||
---|---|---|---|---|
|
...
To add a bookmark:
In your local system, create a JSON file that specifies the path within DME for the bookmark, as follows:
Panel borderColor silver borderStyle solid Clipboard AllowLineWrap true {"path" : "/Path/To/Bookmark"}
Run the following command:
Panel borderColor silver borderStyle solid Clipboard AllowLineWrap true dm_add_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 add_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 add_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:
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
| ||||||
|
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:
Panel | |||||||
---|---|---|---|---|---|---|---|
| |||||||
| |||||||
|
To view the bookmark in the GUI, log out of DME and log in again. Refer to Logging In via the GUI.
If your user account has the system the group administrator or group 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 for Another User and Permissions via the CLU.
For instructions on performing similar tasks in the GUI, refer to the following pages:
...