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

CustomObjectAction

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

Use with AI:Rippling AI ChatGPT Claude Cursor

Defines an action shown on a custom object's list or detail view.

Type definition​

export declare class CustomObjectAction {
    constructor(customObject: ObjectReference, props: CustomObjectActionProps & {
        apiName: Config['api_name'];
    });
    getApiName(): Config['api_name'];
    getActionId(): string;
    setName(name: string): this;
    setFunction(fn: FunctionReference): this;
    setVisibilityPreferences(preferences: CustomObjectActionVisibilityPreference[]): this;
    toDict(): Config;
}