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

How to autopopulate a field value based on same field value present on a different table ?

1_DipikaD
Kilo Sage

Hi All,

 

I want to  auto populate a field value based on same field value present on a different table. As shown in the below picture P records are lnked to t record . We create  records clicking on NEW button on related list of  record . I want to auto populate the field value of  name field on  record at the time while clicking on New button. I  can't find any UI action exists for this . But when I click on ' i ' button besides the name (Reference field) field on   form , it redirects to that record . Could you please suggest how to approach this ? Please let me know if you need more info .  

 

 

Thank You

1 ACCEPTED SOLUTION

@1_DipikaD 

as you can see the i icon is seen means the value is getting populated.

which field in main table is marked as Display=true?

Does that field have value in it?

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

View solution in original post

16 REPLIES 16

@Ankur Bawiskar  

Yes, you are right as I click on i icon it's redirecting me to the expected record but it is quite strange for me the field value is not visible on form .

Also couldn't  get your 2nd point on your previous comment  -  which field in main table is marked as Display=true? . Could you please elaborate, I will check according to that ?

 

Thank You

@1_DipikaD 

the main table has which field marked as Display=true?

whichever field is that will be populated and show when you click New button in related list 

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

@Ankur Bawiskar  I have checked in dictionary there is a string field in main table marked as Dispaly = true . 

@Ankur Bawiskar  and that is not the project name field , there is an another field .

@Ankur Bawiskar  When I marked display = true for project name I can see the value when clicking on NEW on related list . But thing is when I marked display = true for project name field automatically the display is marked as false for the other string field which was Display = true before . It means either of the fields will be in display = true . If one is true then other one will be false automatically. Some one has changed and did not notice this dependency.