Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • aven 5 posts 26 karma points
    Jun 30, 2013 @ 00:39
    aven
    0

    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

  • Andy Butland 373 posts 2057 karma points MVP 4x hq c-trib
    Jun 30, 2013 @ 19:29
    Andy Butland
    0

    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

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Jul 01, 2013 @ 12:41
    Jeroen Breuer
    0

    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

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Jul 02, 2013 @ 13:54
    Jeroen Breuer
    0

    Just a quick bump because notifications didn't work. See my previous post :-).

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies