For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

defineListView

API reference for defineListView: parameters, properties, and return types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Defines a list view for a custom object using that object's typed field references. Include the returned view in the manifest's components to deploy it.

import { defineListView } from '@rippling/rippling-sdk';

Properties​

PropertyRequiredTypeDescription
apiNameRequiredstring

Stable API name for this view. Use a name unique across custom objects in the company.

descriptionRequirednull | string

Human-readable description of this view.

fieldsRequiredreadonly NoInfer<DefinitionFieldReference<TObject>>[]

Columns to display, using field references from this object or standard field names. Include at least one field.

isPublicRequiredboolean

Whether this view is visible to all users (true) or only the record owner (false).

nameRequiredstring

Display name of this list view shown in the UI (e.g. 'All members').

columnConfigOptionalRecord<string, ListViewColumnConfig>

Per-column configuration overrides keyed by field API name.

Documented default: `{}`

layeredConditionsTreeOptionalnull | { [x: string]: JsonValue; }

Structured filter conditions, validated by the Metadata API.

objectScopeOptionalObjectScope

Record scope for this view. One of 'all' | 'my_records'.

Documented default: `'all'`

orderByOptionalNoInfer<DefinitionFieldReference<TObject>>

Field to sort by; supply sortOrder to choose the direction.

rqlFilterOptionalstring

RQL filter expression to pre-filter records shown in this view (e.g. '(session_date__c == TODAY())').

Documented default: null

sortOrderOptionalSortOrder

Sort direction. One of 'ASC' | 'DESC'. Requires orderBy to be set.

Complete options type

Parameters​

ParameterRequiredTypeDescription
objectRequiredTObject

- Custom object whose records this view displays.

TypeScript signature
defineListView<TObject extends ObjectReference>(object: TObject, props: DefineListViewProps<TObject>): ListViewDef;

Returns​

A list-view component for use in defineManifest.

ListViewDef

Availability​

CapabilitySupport
Pull into a projectSupported
Runtime operationsNot available for this helper