Skip to content

pixso.teamLibrary

getAvailableLibraryVariableCollectionsAsync

typescript
getAvailableLibraryVariableCollectionsAsync(): Promise<LibraryVariableCollection[]>

Returns a descriptor of all VariableCollections that exist in the enabled libraries of the current file. Rejects if the request fails.

getVariablesInLibraryCollectionAsync

typescript
getVariablesInLibraryCollectionAsync(libraryCollectionKey: string): Promise<LibraryVariable[]>

Returns a descriptor of all Variables that exist in a given LibraryVariableCollection. Rejects if the given variable collection does not exist, or if the current user does not have access to that variable collection's library, or if the request fails.