PageSchemeService

Service for retrieving page information

Allows retrieving information about app pages.

Hierarchy

  • PageSchemeService

Methods

get

  • get(id: string): Promise<PageScheme | undefined>
  • Retrieve page information by its ID.

    Parameters

    • id: string

    Returns Promise<PageScheme | undefined>

    Object with information about a page.

    const pageScheme =  await System.scheme.page.get('page_id');
    

list

  • list(namespace: string): Promise<readonly BasePageScheme[]>
  • Get a list of pages in a workspace.

    Parameters

    • namespace: string

    Returns Promise<readonly BasePageScheme[]>

    Array of objects with information about pages.

    const pages =  await System.scheme.page.list('crm');