When form loads manager details needs to be populate

suuriya
Tera Contributor

HI Community,

 

I have a requirement, need to populate the manager details in Is manager (list collector) field when the form is loaded.

In the catalog form there is variable set field named Requested for in that field when user opens the form in portal there name will be appear in the form....now i want to populate the manager of that user in Is manager field.

 

Help me with the onload client script as this needs to be display only for one particular catalog.

 

Thanks in Advance

5 REPLIES 5

swathisarang98
Giga Sage
Giga Sage

Hi @suuriya ,

 

You can do this through Auto populate feature available in variables in catalog item no need to do scripting, 

select Dependent Question as Requested For and Dot walk Path as Manager,

swathisarang98_0-1715292716766.png

Result:

User Table,

swathisarang98_1-1715292750486.png

Portal View:

swathisarang98_2-1715292790716.png

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang