UmbracoHelper IPublishedContent not available on PublishedEvent
Hi im working on a custom cache for some of the Items in Content IPublishedContent is not available on the Published Event
When is the cache build and can i make a function that is called on the cache completion??
My solution.
On Published Event on ApplicationEventHandler.
i took the Event Published content which is of the IContent Type and parsed it to the IpublishedContent type ther after i can use the Same methods i use on Init...
UmbracoHelper IPublishedContent not available on PublishedEvent
Hi im working on a custom cache for some of the Items in Content IPublishedContent is not available on the Published Event When is the cache build and can i make a function that is called on the cache completion??
Hi Aki
can you show your code?
Thanks,
Alex
sorry I can't xD
But what i found was that it can be done... https://gist.github.com/jbreuer/dde3605035179c34b7287850c45cb8c9
My solution. On Published Event on ApplicationEventHandler. i took the Event Published content which is of the IContent Type and parsed it to the IpublishedContent type ther after i can use the Same methods i use on Init...
Yes, I have used this and it worked like a charm :-)
Aki, so the topic is solved?
What methods from IPublishedContent do you need?
Yes it is :)
is working on a reply...