SaaS CMS has officially launched! Learn more now.

UnifiedFile access events?



I posted this in the EPiServer 5r2 forum but maybe this is a more correct place.


I need to log all user access (read via click) to UnifiedFile files (.zip files for example), just a simple log access counter. Problem is I can't seem to find anyway to hook up to a relevent event. Anyone got any ideas or workarounds?

//Regards Patrik


Nov 18, 2011 11:21

Hi Patrik

I would create a custom StaticFileHandler and add the logic there. See this blog post for an example:

Hope this helps.


Nov 18, 2011 12:17

Thank you Frederik, I will try it out.


Nov 18, 2011 12:48
* 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.