Questions tagged [storable-action]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
3 answers

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, ...
keepler's user avatar
  • 384
7 votes
1 answer

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, ...
VarunC's user avatar
  • 5,900
0 votes
1 answer

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 ,, if a method is marked as storable, the ...
Raja Vivekanandhan's user avatar
5 votes
1 answer

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 ...
jmdohn's user avatar
  • 1,044
6 votes
1 answer

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 ...
techbusinessman's user avatar