Skip to main content

getVariableCollectionById

DEPRECATED: Use getVariableCollectionByIdAsync instead. This function will throw an exception if the plugin manifest contains "documentAccess": "dynamic-page".

Finds a variable collection by ID. If not found or the provided ID is invalid, returns null.

Signature

getVariableCollectionById(id: string): VariableCollection | null

Parameters

id

The variable collection ID to search for, which represents a unique identifier for the variable collection.