The CreatorCon Call for Content is officially open! Get started here.

How to pull data from another table from other then display field to other table

abrouf
Kilo Sage

Hello Gurus,

 

I wanted to pull data from another table and multiple fields from other then display field (Display field is checked) to other table's fields.

I tried with reference field, dot-walk, but no luck.

Any input is appreciated.

-abrouf

3 REPLIES 3

GopikaP
Mega Sage

Hi @abrouf , are you trying to populate fields using script or are you trying to show multiple fields from another table in reference field?

I tried both approaches.

Hi @abrouf , For example, In business rules, you can dot walk like this - 

var caller = current.caller_id.user_name;
gs.addInfoMessage("Caller User Name = "+caller);

In Client Scripts - 

var caller = g_form.getReference('caller_id');
g_form.addInfoMessage(caller.user_name);

Please adjust the code according to your requirements.