The CreatorCon Call for Content is officially open! Get started here.

How to modify variable values in variable editor

BoHyun Jung
Mega Sage

How can I modify the variable value of the variable editor?

 

 

 

1 ACCEPTED SOLUTION

Priyanka_786
Tera Guru
Tera Guru

@BoHyun Jung . Use below line of code.

If server side:

current.variables. variable name= "something";

current.update();

On client side :- g_form.setValue(variables.variable_name, "something");

Hope it helps. Kindly mark helpful/accepted if it helps.

Regards,

Priyanka Salunke

View solution in original post

2 REPLIES 2

Priyanka_786
Tera Guru
Tera Guru

@BoHyun Jung . Use below line of code.

If server side:

current.variables. variable name= "something";

current.update();

On client side :- g_form.setValue(variables.variable_name, "something");

Hope it helps. Kindly mark helpful/accepted if it helps.

Regards,

Priyanka Salunke

Sohail Khilji
Kilo Patron

Hi @BoHyun Jung ,

 

The variabels are set to readonly due to certain polices or access. Hence you dont meet those conditions to end the variables. I wanted to understand if your want to edit the value of varaible in catalog or your want to force update the value of once perticular record. ? Kindly brief the needs


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect