Ahmad Alkhouly
Posts: 0
Joined: Wed Apr 09, 2014 12:39 pm

store html to local storage variable problem

Hello,

I have a problem with local storage variables That I can not store any "html code" in a local "_node_body_html" variable.

my "html code" - retrieves from REST (XML Feed Url).

is there a problem with html and local storage?
and how can I transferring or adding html to a Component.

my testing targeting components was; html and normal labels...

Thank you very much for help and
best regards.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

store html to local storage variable problem

Hi Ahmad,

You could add mapping to a localStorage variable or add a service Success event (its response is available in a variable 'data' that you can save in localStorage).

Ahmad Alkhouly
Posts: 0
Joined: Wed Apr 09, 2014 12:39 pm

store html to local storage variable problem

Thank you very much for your help its works fine now.

also I get a problem from "Service Settings" That If I do not enabled Appery Proxy,
service items will not shown.

is is ok on production environment ?

thanks and regards

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

store html to local storage variable problem

Hi Ahmad,

Yes. This is because cross-domain calls are executed: http://devcenter.appery.io/documentat...

Just create your proxy: http://devcenter.appery.io/documentat...

You won't need to enable proxy for a ready app, it will work properly without it.

Return to “Issues”