Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Unable to save event handler setting to a Button component in UI builder

Zhongmin Ye
Tera Contributor

Hello ServiceNow Community!

When configuring a button in the UI builder, I am unable to save the event handler configuration I have made to a button in the UI builder, for some reason, the 'Save' button stays as a grey out button. 

 

Any help is appreciated. 🙂 

 

Image (2).jpg

3 REPLIES 3

Community Alums
Not applicable

Hi @Zhongmin Ye ,

Please add the required fields such that the "Save" button appears!!

Follow the steps mentioned below :

https://docs.servicenow.com/bundle/xanadu-application-development/page/administer/ui-builder/task/ev...

 

These are the steps :

1. Click data visualization component active
2. Click events
3. Under "visualization clicked" -> Click "+ Add a new event handler"
4. Choose link to destination
5. Select destination
6. Choose Simple list
7. Enable dynamic data binding (by hovering mouse over specific database)
8. Add followings:
table: @payload.params.table
listTitle: @payload.title
query: @payload.params.query

 

Hi Sandeep,

 

When I am configuring event handler for the button, the event mapping is not required nor allows me to select. 
Screenshot 2024-10-16 160908.png

Kevin83
ServiceNow Employee
ServiceNow Employee

In this case you have to click the "+ Add event handler" link button below