Populating the Location field on a Request form from a catalog item via code

BigMikeyVegas
Tera Guru

I have created a catalog item using maintain items. One of the variables is 'If a single property, which property is the request for?'. The variable name is location. I tried mapping it using :

gr.requested_for.location = current.variable.location;
1 ACCEPTED SOLUTION

BigMikeyVegas
Tera Guru

Close, the correct answer is :

gr.location = current.variables.requested_for.location;

View solution in original post

5 REPLIES 5

BigMikeyVegas
Tera Guru

Close, the correct answer is :

gr.location = current.variables.requested_for.location;