3
votes

I have a custom data provider pulling in data via a webservice.

I have pretty much followed this example here: http://www.techphoria414.com/Blog/Black-Art-of-Sitecore-Data-Providers.aspx

Sitecore seems to be caching my data provider though. For example, I load my application for the first time, and the data get pulled from the provider as I would expect. However, if i collapse the tree and reopen it again, I would expect by provider to be called again, but it is not.

I thought it might be stored in the prefecth cache or in a lucene index, but clearing those didn't cause a call back to my provider again.

How do I tell it to always get data from my data provider?

1
Turns out the issue was a bug in my own code. If you want to disable caching on your provider though, you can do this.CacheOptions.DisableAll = true;Lee Cook
Lee, when you get a moment you should answer your question rather than just leave a comment.James Gardner

1 Answers

3
votes

Turns out the issue was a bug in my own code. If you want to disable caching on your provider though, you can do:

this.CacheOptions.DisableAll = true;