Defines settings for a custom object.
import { defineObjectSettings } from '@rippling/rippling-sdk';
Properties
| Property | Required | Type | Description |
|---|---|---|---|
allowAttachments | Optional | boolean | — |
allowComments | Optional | boolean | — |
defaultLayout | Optional | ObjectScoped<NoInfer<O>, Pick<CustomObjectPageLayout, "getCustomObjectApiName" | "getLayoutId">> | — |
isSearchable | Optional | boolean | — |
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
object | Required | O | — |
TypeScript signature
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 |