November Happy Hour will be moved to Thursday December 5th.

Reloading data from a PageProvider

Vote:
 

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?

#42420
Aug 23, 2010 10:31
Vote:
 

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.

/johan

#42424
Aug 23, 2010 11:03
Vote:
 

Sweet! Thanks Johan

#42425
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.