# CustomField

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

A Custom Field V2 field on a native or custom object.

## Type definition

```
export declare class CustomField<const ModelRqlName extends string = string> {
    constructor(props: DefineCustomFieldProps<ModelRqlName>);
    getFieldId(): string;
    getApiName(): CustomFieldApiName;
    getModelRqlName(): string;
    toDict(): Config;
}
```

## Related types

-   [DefineCustomFieldProps](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/DefineCustomFieldProps-152c99fe)
-   [CustomFieldApiName](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/CustomFieldApiName-e834ef58)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/CustomField-3e96ca95

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