Variable not showing on form in the Portal

Pam Walker1
Tera Contributor

I have a variable set used in several items on the Portal to auto load field relating to the logged in user. When testing one of the fields does not populate on the form

PamWalker1_0-1680690150728.png

 

but if I submit the request without changing anything then the variable does populate on the RITM.

PamWalker1_1-1680690184191.png

If the logged in user changes who the request is for the Office shows on the screen and if they then change it back to themselves again it shows

 

This is my Catalog Client script 

PamWalker1_2-1680690358848.png

 

Would appreciate any help as am quite new to all of this. Thanks

6 REPLIES 6

@Pam Walker1 

 

getReference is not a. standard practice to update reference field related records on form

Instead of getReference use script include and client script

Let me know if you need more help

Thanks,

Manjusha 

sushantmalsure
Mega Sage
Mega Sage

@Pam Walker1 Can you make sure UI Type of this onLoad() client script is set to 'All' and then test it again?

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure