Need to populate the service offering field value on the incident form, based on the caller location

Abhilasha G T
Tera Contributor

Hi Team,

 

Need to populate the service offering field value on the incident form, based on the caller location. I want filter the Service Offering choices based on the location on the incident form and for the look up to contain not only the name of the Service Offering but its Parent TS and the TSO Location.

 

Regards,

Abhilasha G T

9 REPLIES 9

@Sandeep Rajput 

Hi Sandeep,

is there any other approach like, dynamic reference qualifier on the Service offering that takes as variables the location and service.

Do let me know, instead of wring client scripts and scriptinclude.

Regards,

Abhilasha G T

@Abhilasha G T 

you want auto population or want to restrict? both are different things

1) auto population means it will populate the value from table matching your query

2) if you want to restrict then use reference qualifier like this

javascript:'location=' + current.caller_id.location;
Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Need to populate the service offering field value on the incident form, based on the caller location. I want filter the Service Offering choices based on the location on the incident form and for the look up to contain not only the name of the Service Offering but its Parent TS and the TSO Location.

Regards,

Abhilasha G T

Hi Ankur , 

Thanks for the reply.

I posted client script and script include that i written.

 

Regards,

Abhilasha G T

@Abhilasha G T 

script looks good to me.

What debugging did you perform?

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