Auto populate fields on pop-up window

NAIDILE S
Tera Contributor

Hi All!

Here on the pop-up based on CI i need to fill the other service, application service and service offering fields and save it on incident form.
How do i do that ? can anyone help me with this.
Thank you

NAIDILES_0-1694597781822.png

 

1 ACCEPTED SOLUTION

@NAIDILE S 

you want to auto-populate then make the fields readonly on UI page.

if you want to auto-populate and also allow user to select other value then check this link how to set reference field on UI page when UI page loads

check this link and enhance as per your requirement

Store value in reference field of ui page using client script 
If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

12 REPLIES 12

@NAIDILE S 

share the name of the OOB ui page?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 
UI Page : create_prb_change_inc
Script include : SecurityIncidentUtils

@Ankur Bawiskar 
The function which i am using is "createIncidentFromSecurityIncident" in Script include 

@NAIDILE S 

So CI is by default populated

then why not pass the other values to that UI page from UI action only.

now information for other UI pages field you can get inside UI action itself and pass and then set in reference field directly

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

So , then i need to add in UI action? and then bring it to UI page and SI crt