You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,9 @@ After installing the package, just complete the configuration steps below and yo
38
38
"CreateDayFolders": false,
39
39
"OrderByDescending": true,
40
40
"FolderDocType": "dateFolder",
41
-
"ItemDocTypes": [ "contentPage" ]
41
+
"ItemDocTypes": [ "contentPage" ],
42
+
"AllowedParentIds": [ 2222 ],
43
+
"AllowedParentDocTypes": ["blog"]
42
44
}
43
45
```
44
46
@@ -47,6 +49,8 @@ After installing the package, just complete the configuration steps below and yo
47
49
-**DateFolderDocType** | The doctype to use for creating the year/month/day folders. (e.g "DateFolder")
48
50
-**CreateDayFolders** | Boolean indicating whether or not day folders should be created, if false only years and months are created.
49
51
-**OrderByDecending** | Boolean indicating sort order for date folders (default: false)
52
+
-**AllowedParentIds** | (Optional) The node id for the parent(s) to limit the creation of datefolders to. (e.g. 1234) - comma separated values are allowed for multiple note ids
53
+
-**AllowedParentDocTypes** | (Optional) The doctype alias for the parent(s) to limit the creation of datefolders to. (e.g. "blog") - comma separated values are allowed for multiple doctype aliases
Copy file name to clipboardexpand all lines: ReadMe.txt
+6-1
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,19 @@ Add the following configuration to your appsettings.json file:
15
15
"CreateDayFolders": false,
16
16
"OrderByDescending": true,
17
17
"FolderDocType": "dateFolder",
18
-
"ItemDocTypes": [ "contentPage" ]
18
+
"ItemDocTypes": [ "contentPage" ],
19
+
"AllowedParentIds": [ 2222 ],
20
+
"AllowedParentDocTypes": ["blog"]
19
21
}
20
22
21
23
ItemDocType | The doctype alias to create datefolders for. (e.g. "contentPage") - comma separated values are allowed for multiple doctype aliases
22
24
ItemDateProperty | The property of the itemDocType to read the date from. (e.g. "startDate") (don't add this key if you just want to use the document's create date)
23
25
DateFolderDocType | The doctype to use for creating the year/month/day folders. (e.g "DateFolder")
24
26
CreateDayFolders | Boolean indicating whether or not day folders should be created, if false only years and months are created.
25
27
OrderByDecending | Boolean indicating sort order for date folders (default: false)
28
+
AllowedParentIds | (Optional) The node id for the parent(s) to limit the creation of datefolders to. (e.g. 1234) - comma separated values are allowed for multiple note ids
29
+
AllowedParentDocTypes | (Optional) The doctype alias for the parent(s) to limit the creation of datefolders to. (e.g. "blog") - comma separated values are allowed for multiple doctype aliases
// Fix for 'cannot save non-current version' error: https://our.umbraco.com/forum/using-umbraco-and-getting-started/99320-cannot-save-a-non-current-version
170
+
// Error occurs when no datefolders available yet and multiple items are moved into datefolders
0 commit comments