Alex7111055
Posts: 0
Joined: Wed Sep 17, 2014 11:44 am

Cannot set any more localStorage items (maximum of four)

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Cannot set any more localStorage items (maximum of four)

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.

Alex7111055
Posts: 0
Joined: Wed Sep 17, 2014 11:44 am

Cannot set any more localStorage items (maximum of four)

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Cannot set any more localStorage items (maximum of four)

Hello Alex,

Thank you for the update, glad it works!

Alex7111055
Posts: 0
Joined: Wed Sep 17, 2014 11:44 am

Cannot set any more localStorage items (maximum of four)

Solved!

Thanks again

Alex7111055
Posts: 0
Joined: Wed Sep 17, 2014 11:44 am

Cannot set any more localStorage items (maximum of four)

Please mark as solved

Thanks

Return to “Issues”