Run Script or Maybe Trigger Event from UI Builder BUTTON Component
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi All,
I've followed some tutorials and I was able to create a new UI builder Page like this
Now, I need this "Notify" Button to trigger an event or maybe even run a client script right away
If possible I want also to grab the value from the field above ...
Does Anybody has any experience with it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
@vluz , can you check what you are receiving in browser console? Configuration looks OK, maybe code is breaking within script. Also check what you are receiving in data source tab for record_lookup_1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I believe that if you are working in UI Builder you will need to use a server script data resource. It should allow you to define the inputs and then when you configure the action handler on the UI button you would map your field to the input as needed.
The server script data resource could perform whatever you need it to on the server side and then in the response provide any additional information back to the action handler. This would then allow you to update the form/UI as needed after the action handler using any of that information.
Without a much more specific use case its hard to provide a more specific answer.