Notebook
UI Builder: Input Data Binding
Purpose: How to bind Client State Parameters to an Input Component in ServiceNow UI Builder.
- Open the UI Builder editor for an Experience
- Select the Input Component or add a new Input to the page if one does not already exist
- Click “Client State” icon in the lower left of the editor
- Click “Add” to create a new Client State Parameter
- Give it a name and select “String” for the type
- Select the Input Component
- In the Config tab, set “Value” to Data
- Select “@State.{name} where {name} is the Client State Parameter created in step 4
- Add Input Value Set Event handler to update the Client State Parameter