Questions tagged [storable-action]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
3answers
2k views

Storable Action - System.LimitException: Too many DML statements: 1

@AuraEnabled(cacheable=true) public static String deleteContacts(List<String> contactIds) { List<Contact> returnList = new List<Contact> (); String query = ' SELECT Id,Name, ...
7
votes
1answer
353 views

Can we programatically verify the Lightning Component setStorable() cached actions?

I'm building a Lightning Component that relies on heavy pulling of data from server side. but also has Filters. I was thinking to make use of setStorable() action for pulling data from Apex. Now, ...
0
votes
1answer
840 views

aura storable actions not working as expected - client cache

I am trying to use storable actions. I am not getting expected results. As per the video from salesforce ,https://www.youtube.com/watch?v=G931jWBnxHU&t=758s, if a method is marked as storable, the ...
4
votes
1answer
227 views

Storable actions and promises

From the salesforce promise documentation: Don’t Use Storable Actions in Promises The framework stores the response for storable actions in client-side cache. This stored response can ...
6
votes
1answer
470 views

Lightning: Caching Actions Across Components

I have been using Storable Actions to help reduce the amount of identical calls that are going back to the server. Everything is working great but I have a question surrounding how this works across ...