# DefineCustomSettingProps

> Type reference for DefineCustomSettingProps in the Rippling SDK, including its public shape and related types.

Configure a custom setting's value and the groups that can access it.

## Type definition

```
export type DefineCustomSettingProps = {
    apiName: string;
    name: string;
    viewGroup?: DefinedGroup | null;
    manageGroup?: DefinedGroup | null;
} & ({
    dataType: 'STRING' | 'SECRET';
    value: string | null;
} | {
    dataType: 'NUMBER';
    value: number | string | null;
} | {
    dataType: 'BOOLEAN';
    value: boolean | null;
});
```

## Related types

-   [DefinedGroup](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/DefinedGroup-09c3816e)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/DefineCustomSettingProps-305f6d9f

> 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.
