> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Layout Editor

> Edit a specific named page layout for a data manager object, with support for adding sections, fields, and components to the layout canvas.

Layout Editor is the page at `/settings/data-manager/:apiName/layouts/:layoutId` that provides a full-page editing interface for a named page layout associated with a specific data manager object.

## Overview

The page resolves both `:apiName` and `:layoutId` from route params. It fetches the target layout via `usePageLayout` and the parent object definition via `useObjectByApiName`. A dynamic breadcrumb (`useBreadcrumbLabel`) is set to the layout's `layout_name`. If either the layout or object is not found, an error state with a back-navigation link to the data manager is shown. The `LayoutEditor` component provides the editing canvas.

This page is accessed from the Data Manager object detail page (`/settings/data-manager/:apiName`).

## Who it's for

Access follows your organization's role and module configuration. SME should confirm intended access.

## Before you start

* The data manager object (`apiName`) and layout (`layoutId`) must already exist.
* Navigate here from the Data Manager object detail page.

## Steps

1. Navigate to **Settings → Data Manager** and open the target object.
2. Select the layout you want to edit from the layouts list to navigate to `/settings/data-manager/:apiName/layouts/:layoutId`.
3. Use the `LayoutEditor` canvas to add, remove, or rearrange sections and fields.
4. Save changes when finished.
5. Use the back button to return to the data manager object detail page.

## Related

<Columns cols={2}>
  <Card title="Platform Foundation" icon="layer-group" href="/pf/overview">
    Platform Foundation overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index" />
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/platform.tsx
  * src/platform/page-layouts/components/data-manager/LayoutEditorPage.tsx
  * src/platform/page-layouts/hooks/usePageLayout.ts
</Accordion>
