# defineObjectSettings

> API reference for defineObjectSettings: parameters, properties, and return types.

Defines settings for a custom object.

```ts
import { defineObjectSettings } from '@rippling/rippling-sdk';
```

## Properties

| Property | Required | Type | Description |
| --- | --- | --- | --- |
| `allowAttachments` | Optional | `boolean` | — |
| `allowComments` | Optional | `boolean` | — |
| `defaultLayout` | Optional | `[ObjectScoped](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/ObjectScoped-8d774b33)<NoInfer<O>, Pick<[CustomObjectPageLayout](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/CustomObjectPageLayout-e39791af), "getCustomObjectApiName" \| "getLayoutId">>` | — |
| `isSearchable` | Optional | `boolean` | — |

[Complete options type](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/ObjectSettingsProps-0c6b080a)

## Parameters

| Parameter | Required | Type | Description |
| --- | --- | --- | --- |
| `object` | Required | `O` | — |

TypeScript signature

```ts
defineObjectSettings<O extends ObjectReference>(object: O, props: ObjectSettingsProps<NoInfer<O>>): DefinedObjectSettings;
```

## Returns

```
DefinedObjectSettings
```

## Availability

| Capability | Support |
| --- | --- |
| Pull into a project | Supported |
| Runtime operations | Not available for this helper |

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/defineObjectSettings

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
