How to use sessionStorage for storing Reference Fields?

Haceena Shaik
Tera Expert

Hi all,

 

I need to populate reference value from variables in orderguide to request item and catalog task. If user having data it will populate. If user not having particular data in user record, it should be manually filled by user on form.

So we are using session storage for auto populating fileds. But its not working for storing reference fields. 

Can you please suggest me possible way.

For string filed, we are using

if(g_form.getValue('variable_string')!= ''){
		sessionStorage.setItem('xyz', g_form.getValue('variable_string'));
	}	

Regards,

1 REPLY 1

Muhammad Khan
Mega Sage
Mega Sage

It is an old thread but might be helpful for you to work with session data.

Can I write to a session variable from within a scoped app?