Reloading data from a PageProvider


I'm building a custom PageProvider. I have a requirement that when the system behind the PageProvider is updated, the PageProvider re-publishes its pages to EPiServer.

I can't see any kind of reload event on the PageProvider base or on the DataFactory...

How can this be achieved?

Aug 23, 2010 10:31

Hi Greg!

If you call ClearProviderPagesFromCache() on your provider, all pages are removed from the cache and would be reloaded through your provider when theyre requested.


Aug 23, 2010 11:03

Sweet! Thanks Johan

Aug 23, 2010 11:05
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.