You need to sign in to do that
Don't have an account?
Ab
Adding and removing from cache
Hello,
I have a code like below
I want to know how to clear the Cache and put inside the cache.
thanks
I have a code like below
Cache.OrgPartition part = Cache.Org.getPartition('local.XYZToken');
I want to know how to clear the Cache and put inside the cache.
thanks
Please refer to these links it may be helpful to you.
https://apexcoder.com/2018/10/18/salesforce-platform-cache-partitions-using-apex/
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_cache_Org.htm
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha