how can i set the client state parameter value when page loads.

mishra007
Tera Contributor

I am facing issue with client state parameter value, i want that when page loads my client state parameter value should abc, tried giving it initial values but it is not working

2 REPLIES 2

Dibyaratnam
Tera Sage

Go to the UI Builder page where the state parameter has been created. Click on Body & Go to Events. Go to Page Event Mapping. For Page Ready, add the Update client state parameter event handler. There you can update the client state parameter to the value which you want on page load.

 

Please mark as correct if it helps.

swathisarang98
Giga Sage
Giga Sage

Hi @mishra007 ,

 

Could you please share screen shot of the issue you are facing ?

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang