Copied to clipboard

Flag this post as spam?

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


  • Umbroco 11 posts 60 karma points
    Sep 22, 2014 @ 13:41
    Umbroco
    0

    The given key was not present in the dictionary.

    Im getting this error when trying to create a node of my type "NewsItem"

    Im using the latest umbraco 7.1.6

    this is my config :

    <uDateFoldersySettings>

        <DateFolders enabled="true">

            <!--- csv of doc type aliases which are the roots of where date folders should go (eg. news, blog)-->

            <RootDocTypeAliases>NewsOverview</RootDocTypeAliases>

     

            <!-- enables year folders -->

            <YearFolders enabled="true" docTypeAlias="uDateFoldersyFolderYear"/>

     

            <!-- enables month folders... note: this setting will not apply if year folders are disabled -->

            <MonthFolders enabled="true" docTypeAlias="uDateFoldersyFolderMonth"/>

     

            <!-- enables day folders... note: this setting will not apply if month folders are disabled -->

            <DayFolders enabled="false" docTypeAlias="uDateFoldersyFolderDay"/>

     

            <!-- csv of doc type aliases which will be put into folders -->

            <TargetDocTypeAliases>NewsItem</TargetDocTypeAliases>

     

            <!-- the date property - must be a date type -->

            <DatePropertyAlias>newsdate</DatePropertyAlias> (my date property is a date picker with time in my newsitem doctype)

     

            <FolderNameFormat>

                <!-- Valid values: M MM MMM MMMM == 3 03 Mar March -->

                <MonthFormat>MMMM</MonthFormat> 

     

                <!-- Valid formats: d dd == 9 09 -->

                <DayFormat>dd</DayFormat>

            </FolderNameFormat>

        </DateFolders>

     

    </uDateFoldersySettings>

     

    Am I doing something wrong with the date key?

  • Umbroco 11 posts 60 karma points
    Sep 23, 2014 @ 14:05
    Umbroco
    0

    bump :)

  • Greg Fyans 140 posts 342 karma points
    Sep 23, 2014 @ 14:08
    Greg Fyans
    0

    Are your doctype aliases for NewsOverview and NewsItem definitely capitalised? Are they not newsOverview and newsItem?

    Greg.

  • Umbroco 11 posts 60 karma points
    Sep 23, 2014 @ 14:15
    Umbroco
    0

    Yes, already checked that.. The names are like "News Overview" so the aliases becomes "NewsOverview"

  • Umbroco 11 posts 60 karma points
    Sep 23, 2014 @ 15:16
    Umbroco
    0

    thanks anyway!

  • Umbroco 11 posts 60 karma points
    Sep 24, 2014 @ 08:22
    Umbroco
    0

    one last bump

  • Umbroco 11 posts 60 karma points
    Sep 24, 2014 @ 10:54
    Umbroco
    100

    reinstalled it twice and the second time I got it to work, no idea what I did differently but it works :)

Please Sign in or register to post replies

Write your reply to:

Draft