Skip to main content

Get Lark Base views

Sophie avatar
Written by Sophie
Updated yesterday

Definition and Usage

Retrieve all views from a specified table in a Lark Base object. Use this command after you have connected to Lark Base. You can specify the target table either by its name or by its unique ID.

Parameter Values

Input Parameters

Parameter Name

Description

Possible Values

Required

Options / Notes

Lark Base

The Lark Base object created by the Connect Lark Base command.

Object reference

Yes

Must come from a successful Connect Lark Base step.

Locating mode

How you will specify the table to retrieve views from.

By name, By ID

Yes

Choose one method; ensure the corresponding field is filled.

Data table name

The table’s name when locating by name.

Text

Cond.

Required if Locating mode is By name; must exactly match the table name.

Data table ID

The table’s unique ID when locating by ID.

Text/ID

Cond.

Required if Locating mode is By ID; copy the exact ID from Lark Base.

Advanced Settings

No advanced settings available.

Error Handling

Parameter Name

Description

Throw error & stop

When an error occurs, the action will stop execution.

Retry command

The action retries the command if an error occurs.

Ignore error & continue

The action ignores the error and continues workflow execution.

Variables Produced

This action produces a variable containing the list of views from the specified table. Use it to loop through views, select a particular view by name or position, or pass it to subsequent actions that require a view reference.

Using Variables in Conditions

You can pass dynamic values from earlier steps into this command. For example, you might supply the table name or ID from a previous lookup. If the UI marks a field with {x}, it indicates the field supports variables. Use variables to make the locating mode, table name, or table ID depend on earlier results or user inputs in your workflow.

Notes

  • Ensure you have already connected to Lark Base and the connection remains valid when this command runs.

  • Pick one locating method and provide the matching detail: Data table name for By name; Data table ID for By ID.

  • Table names are case-sensitive in many systems; verify exact spelling to avoid not found errors.

  • If the table has no views or access is restricted, the returned list may be empty or the command may error based on your error handling choice.

  • Use the produced list variable directly in loops or filters to target specific views.

Did this answer your question?