For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Resources
Get started
ReferenceGuidesExamplesChangelog
ReferenceGuidesExamplesChangelog
  • Designer API
    • Introduction
    • Getting Started
    • Webflow CLI
    • Error Handling
    • App Modes
  • Elements
    • Creating & Retrieving Elements
    • Element Properties & Methods
        • Search element settings
        • Get settings
        • Get resolved settings
        • Set settings
        • Get visibility
        • Set visibility
        • Get DOM ID
        • Set DOM ID
        • Search bindable sources
      • Attributes
      • Custom Attributes
      • Styles
      • Text Content
      • Display Name
    • Element Types & Methods
  • Styles
    • Managing Style Properties
    • Managing Variable Modes
  • Components
  • Variables & Collections
    • Variable Collections
    • Variables
    • Variable Modes
  • Assets
  • Pages & Folders
  • Utilities
    • User Events & Notifications
    • App Intents & Connections
  • Additional Resources
    • API Playground
    • FAQs
LogoLogo
Resources
Get started
On this page
  • element.getResolvedSettings()
  • Syntax
  • Returns
  • Example
  • Designer Ability
ElementsElement Properties & MethodsSettings

Get resolved settings (Beta)

Was this page helpful?
Previous

Set settings (Beta)

Next
Built with

element.getResolvedSettings()

Get the resolved values for all settings on an element.

This method returns the final output value for each setting. Bindings are resolved to their actual values rather than returned as binding references. For example, a setting bound to a component prop returns the current value of that prop rather than a binding reference object.

Limitation: this method does not return resolved values for settings that are bound to CMS fields; it returns the binding reference instead.

To get the binding references instead of the resolved values, use element.getSettings().

Beta

These methods are in public beta and may change with future releases.

Syntax

1element.getResolvedSettings(): Promise<Record<string, ResolvedValue | null>>

Returns

Promise<Record<string, ResolvedValue | null>>

A Promise that resolves to an object mapping setting keys to their resolved values.

Related types:

1type ResolvedValue =
2 | string
3 | number
4 | boolean
5 | null
6 | LinkResolvedValue
7 | VideoResolvedValue
8 | RichTextResolvedValue

Example

1const element = await webflow.getSelectedElement()
2
3if (element) {
4 const settings = await element.getResolvedSettings()
5 console.log(settings)
6
7 /*
8 {
9 tag: 'h2',
10 domId: 'my-heading', // prop binding resolved to its current value
11 altText: 'A sunset photo',
12 }
13 */
14}

Designer Ability

Checks for authorization only.

Designer AbilityLocaleBranchWorkflowSitemode
canAccessCanvasAnyAnyAnyAny