Case form Issue

Anusha Medharam
Tera Contributor

when select Account in case form primary contact is auto populated and based on that primary contact primary contact email and phone number is auto populated .how achieve.

4 REPLIES 4

AndersBGS
Tera Patron
Tera Patron

Hi @Anusha Medharam ,

 

Please share some more information / snips for your case creation. Where is primary contact populated? Where do you want the primary contact email and phone number to be populated? 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

best regards

Anders 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

ersureshbe
Giga Sage
Giga Sage

Hi, You can achieve through client script and its applicable for catalog client script / direct platform as well. You should use g_form.getReference() function to implement it.

Use below link for your reference.

https://servicenowguru.com/scripting/client-scripts-scripting/gform-getreference-callback/

 

Regards,
Suresh.

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Anusha Medharam ,

 

There are multiple ways to achieve it,

 

1. You can use the 'Auto populate' tab in reference field dictonary.

2. you can use onchange client scipt (with glideajax) with script include to populate realted field like contact and email.

 

Refer the below :

https://www.servicenow.com/community/developer-forum/how-to-auto-populate-caller-email-and-caller-ph...

 

Auto populate : 

https://www.servicenow.com/community/developer-articles/auto-populate-a-variable-based-on-a-referenc...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

siraj5
Tera Contributor

Hi @Anusha Medharam ,

 

As per my understanding, Do you want to Auto populate the phone number of customer service Application Account module Phone number right?

 

If Yes, that phone number In which field of cases do you want to store.

 

Please provide the clear information