We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Populating caller location using default value

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

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

Not applicable

@Aman Kumar it is not working, 

I am trying to populate the location on the incident form