# WorkspaceWindowDefinition

**Kind**: interface | **Module**: [Workspaces](https://docs.interop.io/desktop/reference/javascript/workspaces/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/workspaces/workspacewindowdefinition/index.html

An object describing the possible options when opening a window inside a workspace.

## Properties

- **`appName`** (`string`, optional)
  The name of the application as defined, which will be opened.
- **`config`** (`WorkspaceWindowDefinitionConfig`, optional)
  A config object which defines various workspace window-specific settings
- **`context`** (`any`, optional)
  An object which will be passed to the newly created window. This object is then accessible via the Windows API
- **`type`** (`"window"`, optional)
  The type of the workspace element.
- **`windowId`** (`string`, optional)
  The window id of an existing standalone window, which will be dragged into the workspace.

## Related types

- [WorkspaceWindowDefinitionConfig](https://docs.interop.io/desktop/reference/javascript/workspaces/workspacewindowdefinitionconfig/index.md)
