I have a custom control that executes a SmartObject List method to return some values. For some reason it is caching the values returned by the list method which means when I make a change so that new data should be returned, I am not seeing these changes - I only see the previously cached values.
Is there any way I can clear the K2 cache before I execute my list method or even set the control to not use the cache?
Here is how I am executing my list method:
SmartObject smartObject = serverName.GetSmartObject("MySmartObject");
smartObject.MethodToExecute = "List";
smartObject.GetMethod("List").InputProperties["deleted"].Value = "no";
Thanks,