# GetContentsOptions

**Kind**: interface | **Module**: [Layouts](https://docs.interop.io/browser/reference/javascript/layouts/index.md)

**Source**: https://docs.interop.io/browser/reference/javascript/layouts/getcontentsoptions/index.html

Options for retrieving the contents of Global or Workspace Layouts via the `getLayoutContents()` method.

## Properties

- **`name`** (`string`, required)
  Name of the Layout whose contents to retrieve.
- **`type`** (`LayoutType`, required)
  Type of the Layout. The supported types for this operation are `"Global"` and `"Workspace"`.

## Related types

- [LayoutType](https://docs.interop.io/browser/reference/javascript/layouts/layouttype/index.md)
