assetFolder.getName()

Get the name of the current AssetFolder object

Syntax

1AssetFolder.getName(): Promise<string>

Returns

String

A Promise that returns the name of the AssetFolder object

Example

1// Create Asset Folder
2const newFolder = await webflow.createAssetFolder(name)
3const folderName = await newFolder.getName()
4
5console.log(folderName)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canAccessAssetsAnyAnyAnyAny