You need to sign in to do that
Don't have an account?
Rufus Roden
<auraStorage:init/> and action.setStorable();
I've been trying to get the action.setStorable working. What I've coded turns out to be very similar to @Gaurav Puranik 's as described here
https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=9060G000000XaU3QAK
No surprise then that my results are the similar. I've found that my component, hosted in Lighting Experience, seems to only cache the results for about 30 seconds.
However if I create an Lightning App and call the auraStorage:init from there I've found that I can get the call to cache; although the process appears to be in-memory only (yes, I've tried persistent="true")
My question so then is this.
Currently is the <auraStorage:init/> with name="actions" only instantiable for a Lightning App and, if you are hosting your component in Lightning Experience, that that component is bound to LEX's setting for when it called it's <auraStorage:init/> ?
https://developer.salesforce.com/forums/#!/feedtype=SINGLE_QUESTION_SEARCH_RESULT&id=9060G000000XaU3QAK
No surprise then that my results are the similar. I've found that my component, hosted in Lighting Experience, seems to only cache the results for about 30 seconds.
However if I create an Lightning App and call the auraStorage:init from there I've found that I can get the call to cache; although the process appears to be in-memory only (yes, I've tried persistent="true")
My question so then is this.
Currently is the <auraStorage:init/> with name="actions" only instantiable for a Lightning App and, if you are hosting your component in Lightning Experience, that that component is bound to LEX's setting for when it called it's <auraStorage:init/> ?