For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo

Get all variable modes

collection.getAllVariableModes()

Get all variable modes in a collection.

Syntax

1collection.getAllVariableModes(): Promise<Array<VariableMode>>

Returns

Promise<Array<VariableMode>>

A Promise that resolves to an array of VariableMode objects.

Example

1// Get Collection
2const collection = await webflow.getDefaultVariableCollection()
3
4// Get All Variable Modes
5const variableModes = await collection.getAllVariableModes()
6console.log(variableModes)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canReadVariablesAnyAnyAnyAny
Morty Proxy This is a proxified and sanitized view of the page, visit original site.