Populating caller location using default value

Community Alums
Not applicable

Hi All,

I want to populate the incident caller's location on location field using the default value.
I tried with javascript:gs.getcaller_id().getRecord().getDisplayValue("location");  but it is not working.
Can you please help how can I achieve this ?

Note: Location field created on task table.

27 REPLIES 27

Mohith Devatte
Tera Sage
Tera Sage

hello @asmita sahu 

try this 

javascript:current.caller_id.location

@asmita sahu edited the answer .

try the above line

mark my answer correct if it helps you

It should be:

javascript:current.caller_id.location;

Best Regards
Aman Kumar

@Aman Kumar thanks haha

Community Alums
Not applicable

@Aman Kumar it is not working, 

I am trying to populate the location on the incident form