Package Datefolders: Where to add the configuration?
I have just installed the Infocaster Date folders package (https://github.com/Infocaster/Datefolders) and is about to do the configuration. Documentations says:
After installing the package, just complete the configuration steps below and you'll be good to go!
...
"DateFolders": {
"ItemDateProperty": "",
"CreateDayFolders": false,
"OrderByDescending": true,
"FolderDocType": "dateFolder",
"ItemDocTypes": [ "contentPage" ],
"AllowedParentIds": [ 2222 ],
"AllowedParentDocTypes": ["blog"]
}
But where to put this configuration? In appsettings.json? If yes, where (as a root property)?
Package Datefolders: Where to add the configuration?
I have just installed the Infocaster Date folders package (https://github.com/Infocaster/Datefolders) and is about to do the configuration. Documentations says:
But where to put this configuration? In appsettings.json? If yes, where (as a root property)?
In the code it looks like optionspattern. So yes that would be in appsettings as root element yes 🙂
Hi there!
I would've answered earlier if my github login had worked.
Yes, you pretty much answered your own question. The configuration goes into the root of the appsettings.json file. So as an example:
Kind regards,
Dennis
Thanks! :)
I shared the question here: https://www.facebook.com/groups/umbracowebdevs/posts/1745949915806892/
Therefore I have marked Dennis Pedersens comment as answer. :)
is working on a reply...