---
schema_version: "1"
id: 12162c5ab6de9b51e4cb138c812006e8ca786013e4a9d4a90db382c52516ccd7
title: Layout
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_layout.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_layout.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 145f5cda6b3036e8e8b6bff4e90a8613556b3ff2c1ed9ae326622559ac5968b6
description: Represents a page layout.
---
# Layout

Represents a page layout.

This object is available in API version 32.0 and later.

## Supported SOAP Calls

create(), delete(), query(), retrieve(), update(), upsert()

## Supported REST HTTP Methods

GET

## Fields

| Field | Details |
| --- | --- |
| EntityDefinitionId | 
Type

string

Properties

Filter, Group, Sort

Description

The Id of the EntityDefinition object associated with this object.



 |
| FullName | 

Type

string

Properties

Create, Group, Nillable

Description

The unique name of the layout used as the identifier for API access. The fullName can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.

Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.



 |
| LayoutType | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

Indicates the type of the layout. Valid values are:

- GlobalQuickActionList
- ProcessDefinition
- Standard





 |
| ManageableState | 

Type

ManageableState enumerated list

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Indicates the manageable state of the specified component that is contained in a package:

- beta
- deleted
- deprecated
- deprecatedEditable
- installed
- installedEditable
- released
- unmanaged





 |
| Metadata | 

Type

mns:Layout

Properties

Create, Nillable, Update

Description

Layout metadata.

Query this field only if the query result contains no more than one record. Otherwise, an error is returned. If more than one record exists, use multiple queries to retrieve the records. This limit protects performance.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

The layout name.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

A unique string to distinguish this layout from any others. For example, if this layout is being using by a flow, use the NamespacePrefix to uniquely identify the layouts in multiple flow instances.



 |
| ShowSubmitAndAttachButton | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Only allowed on Case layout. If true, **Submit & Add Attachment** displays on case edit pages to portal users in the Customer Portal.



 |
| TableEnumOrId | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The enum (for example, Account) or ID of the object this layout is on.



 |