Variable Set Not saving value when submitted

leahp
Kilo Guru

I have a variable set called Requested For with a default value of javascript: gs.getUserID();

When the Catalog item page loads, it defaults the "Requested for" to the  current user, which is what I want.  However, when the catalog item is submitted, the Requested For is blank.  This is only happening in our London instance.  It works fine in Jakarta.

 

 

1 ACCEPTED SOLUTION

Shweta KHAJAPUR
Tera Guru

Please check Variable set name and variable inside variable set name both should be different.

View solution in original post

9 REPLIES 9

Chalan B L
Giga Guru

Hello Leahp,

 

I just tried in my personal instance by creating a new variable and used javascript: gs.getUserID();

If i am not wrong just check if there is any onSubmit catalog client script or any UI policies on the catalog item.

Note: debug by checking the console[f12] and observe whats going wrong.

 

 

Please mark the answer as correct and helpful if it helped you..!!

 

Regards,

Chalan

 

 

Shane J
Tera Guru

Make sure you're looking at the right Requested For as I believe OOTB what is shown on the RITM is actually the REQ's Requested For...

rightpalava
Mega Expert

I also have this issue with a new London instance. Same code worked fine on Kingston and I can't see how or why this is suddenly an issue. Hmm. Did you get anywhere with fixing this @leahp?

We also have faced same issue. As new field internal name in Variable set has been introduced which is causing this issue. Please make sure to give Different name to Variable set and variable inside variable set. Database name should be different.