Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Bookmark object is a persistent version of a Share object. As a Share object is a ad-hoc reference to a current application state, Bookmark adds a name, title and description to a Share object. Thanks to it, Bookmarks can be listed on a Project page.Image Removed

...

Bookmarks are listed before project's Views on Project page

Syntax

Bookmark object is a wrapper of a Share. As you can see there are standard metadata fields and reference to a Share object:

...

Bookmark object syntax
Code Block
{
    "name": "bookmark_to_fort_center",
    "type": "bookmark",
    "title": "My Store: Fort Shopping Center",
    "description": "Bookmark to Fort Shopping Center store",
    "content": {
        "share": "/rest/projects/yufqzxkbiecj7jot/md/views/o31q6691gdtj3vng?shareId=s7bf3nyd3wxjsiuk"
    }
}

Security

Bookmarks can be created by user in VIEWER, EDITOR or ADMIN role. Bookmarks are not shared among users, every user can list only his/her bookmarks.

Key description

content

Key

Type

Optionality

Description

Constraints

share

URL

Status
colourRed
titlerequired

reference to a Share object

^/rest/projects/([a-z0-9]{16})/md/views/([a-z0-9]{16})?shareId=([a-z0-9]{16})$

Visual representation

A new Bookmark can be created by click on a Bookmark button on Dashboard:

...

CleverMaps ask for filling in a Title and Description of a new Bookmark:Image Removed

...

After submitting this dialog, CleverMaps creates a new Bookmark object that persist the state of the application when click the Bookmark button.

...