UI builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 02:52 AM - edited 09-07-2023 02:54 AM
How to capture/save the data entered by user from the catalog item configured in UI builder (like we use "g_form" in service catalog client scripts to fetch the data selected/entered by user to validate)
Pls someone help me on this.
@Servicenow @uibuilder @bradtiltonnow @AdamCelli
- Labels:
-
UI Builder : Next Experience

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 06:06 AM
Could you share more details including screenshots and what you're trying to achieve? Right now, catalog support in UIB created experience is very limited so it's possible what you're trying to do isn't possible. The catalog component should still run some client scripts but it's hard to answer your question without more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 11:15 PM - edited 09-28-2023 07:20 AM
Hi Brad, Thanks for your response.
I'm developing an Management application, where I need to validate the user input in catalog form string/date fields after I can save it in client state parameters. After that, I have to validate it in data resource transform for potential string/date clash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2023 01:28 AM - edited 09-12-2023 03:48 AM
Hi Brad, Thanks for your response.
I'm developing a management application, I have configured a catalog item using the "Service catalog glide form" data resource. In that, I have String/date validation where the data is user input (I'll save it in client state parameter). Validation should be done before submitting the form, the validation is potential string/date clash.
Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2023 06:35 AM
Are those fields separate components or are you using the form component or catalog item component. If you're using one of those I think you'll need to use client scripts and clients scripts that run on a form can't directly communicate with UIB state parms and scripts.