UI builder

Bhuvanesh Kuma1
Tera Contributor

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 

5 REPLIES 5

Brad Tilton
ServiceNow Employee
ServiceNow Employee

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.

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.

 

Bhuvanesh Kuma1
Tera Contributor

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.

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.