Autopopulate variable

Cindy Sim
Tera Expert

CindySim_0-1747318741466.png

 

CindySim_1-1747318791290.png

 

Could anyone suggest how I can prepopulate variable with the value in catalog item form itself?

5 REPLIES 5

Vishal Jaswal
Giga Sage

Hi @Cindy Sim 

There are two ways to achieve it:

1. You can set the variable type as Reference with default value and maybe check Read Only so that no one can modify it -- With this if the owner of the catalog item changes in future, then you have to ensure updating the default value of this refrence variable as well. Here are the screenshots of your reference:

VishalJaswal_0-1747328590523.png



VishalJaswal_1-1747328598767.png



VishalJaswal_2-1747328611349.png



VishalJaswal_3-1747328643969.png
2. Using Catalog Client script which will automatically take care of setting the Owner variable field value instead of you specifying it in the variable's default value. The solution is shared in this thread and if this is what you want and need more assistance, then let me know.

 


Hope that helps!