Page 1 of 1

Cannot set any more localStorage items (maximum of four)

Posted: Wed Sep 24, 2014 8:04 pm
by Alex7111055

Good evening,

I dont seem to be able to set any more localStorage items...

I have four and it won't let me set any more via Javascript or the action form?

This is required as a dynamic field in REST but the localStorage item doesn't show.

Thanks in advance for your help


Cannot set any more localStorage items (maximum of four)

Posted: Thu Sep 25, 2014 5:00 am
by Yurii Orishchuk

Hi Alex,

Works for me..

You can set LSV with following JS code:

pre

localStorage.setItem("LSVName", "lsvValue");

/pre

Also you can set it with action "Set storage variable" in events bottom panel.

See details:

  1. Open "storage and models" and add lsv you need http://prntscr.com/4q32si/direct

    2 Then you can set it in builder: http://prntscr.com/4q330k/direct

    Regards.


Cannot set any more localStorage items (maximum of four)

Posted: Fri Sep 26, 2014 7:49 am
by Alex7111055

Apologies,

The place to set local storage has changed!

I used to be able to set them from the events at the bottom, or when via javascript they used to then be available in the REST service.

Now, it seems, you have to set them under "Storage and Models" in the "Project" directory.

My mistake, i didn't spot it


Cannot set any more localStorage items (maximum of four)

Posted: Fri Sep 26, 2014 8:03 am
by Evgene Karachevtsev

Hello Alex,

Thank you for the update, glad it works!


Cannot set any more localStorage items (maximum of four)

Posted: Sat Sep 27, 2014 9:48 am
by Alex7111055

Solved!

Thanks again


Cannot set any more localStorage items (maximum of four)

Posted: Mon Dec 08, 2014 10:18 am
by Alex7111055

Please mark as solved

Thanks