Hello folks.. I'm having some trouble understanding this Application Event Handler..
I'm trying to create my own date folder for my posts.. But I hit the wall hard here. I want to work with api version 6+ but the documentation are holding me back, as far I can get.
Whenever I try using the 'document' class. I'm told its obsolete and I should use Umbraco.Core.Models.Content etc instead. But I cant find anything on this class.
Any help out there, or am I doing this totally wrong? I'm in the learning phase of this CMS.
API for v6+.. Document obsolete!?
Hello folks.. I'm having some trouble understanding this Application Event Handler..
I'm trying to create my own date folder for my posts.. But I hit the wall hard here. I want to work with api version 6+ but the documentation are holding me back, as far I can get.
Whenever I try using the 'document' class. I'm told its obsolete and I should use Umbraco.Core.Models.Content etc instead. But I cant find anything on this class.
Any help out there, or am I doing this totally wrong? I'm in the learning phase of this CMS.
Kind regards and thanks in advance,
aven
Here's the documentation for that particular Content class - and probably worth having a read all of this section. Hope that gets you started.
Andy
Hello,
Before creating your own code for data folders did you have a look at this package? http://our.umbraco.org/projects/backoffice-extensions/udatefoldersy
I think it's using the new v6 API so the source might also help: https://bitbucket.org/anthonydotnet/udatefoldersy
Jeroen
Just a quick bump because notifications didn't work. See my previous post :-).
is working on a reply...