Skip to content

View Map

Create View Map folders and clone Project Map items into the View Map.

Access this group through api.official.view_map.

Commands

For exceptions shared by Unified API commands, see error handling.

clone_project_map_item_to_view_map

clone_project_map_item_to_view_map(
    project_map_navigator_item_id: NavigatorItemId,
    parent_navigator_item_id: NavigatorItemId,
) -> NavigatorItemId

Clones a project map item to the view map.

Parameters:

  • project_map_navigator_item_id (NavigatorItemId) –

    The ID of the navigator item to be cloned. Only navigator items from the project map can be cloned.

  • parent_navigator_item_id (NavigatorItemId) –

    The ID of the navigator item below which the new view will be inserted. Only navigator items from the view map are allowed.

Returns:

create_view_map_folder

create_view_map_folder(
    folder_parameters: FolderParameters,
    parent_navigator_item_id: NavigatorItemId | None = None,
    previous_navigator_item_id: NavigatorItemId
    | None = None,
) -> NavigatorItemId

Creates a view folder item at the given position in the navigator tree.

Parameters:

  • folder_parameters (FolderParameters) –

    This is the name of the new folder.

  • parent_navigator_item_id (NavigatorItemId | None, default: None ) –

    The newly created folder will be placed under this parent item. If this parameter is not given the folder will be created as the first item in the View Map list.

  • previous_navigator_item_id (NavigatorItemId | None, default: None ) –

    The newly created folder will be placed after this sibling item. If this parameter is not given the folder will be created as the first item under the parent.

Returns:

These include the parameter and result models used inside the client. The command signatures above show what to pass and what is returned.