Page 1 of 1

Navigate to Link from Local Storage Variable

Posted: Thu Nov 15, 2012 10:16 am
by HumZ

Hi.

Is it possible to have the navigate to link action URL updated from a Local Storage Variable?

Thanks.


Navigate to Link from Local Storage Variable

Posted: Thu Nov 15, 2012 11:17 am
by Maryna Brodina

Hello! window.top.location = localStorage.getItem('page');


Navigate to Link from Local Storage Variable

Posted: Thu Nov 15, 2012 11:49 am
by HumZ

Hi.

Thank you, but my question perhaps should be - is there a format I can enter in the Navigate to Link dialogue (used in Actions) that references a Local Storage variable?

Thanks,

Humz


Navigate to Link from Local Storage Variable

Posted: Thu Nov 15, 2012 11:55 am
by Maryna Brodina

No, there should be URL only


Navigate to Link from Local Storage Variable

Posted: Thu Nov 15, 2012 3:23 pm
by HumZ

So only JavaScript to achieve this goal. Any samples? Also noticed combined actions of Invoking a Service and a JS don't seem to work.

Thanks.


Navigate to Link from Local Storage Variable

Posted: Thu Nov 15, 2012 3:26 pm
by Maryna Brodina

Not sure I understand your question. Could you clarify please?

What exactly doesn't work?