appsettings.config
For Umbraco v.9 and v.10 all configuration lives in the appsettings.json
file.
The majority of these settings will have default values that do not need to be changed.
{
"uSync": {
"Settings": {
"RootFolder": "uSync/v9/",
"DefaultSet": "Default",
"ImportAtStartup": "None",
"ExportAtStartup": "None",
"ExportOnSave": "All",
"UiEnabledGroups": "All",
"ReportDebug": false,
"AddOnPing": true,
"FailOnMissingParent": false,
"CacheFolderKeys": true,
"ShowVersionCheckWarning": true,
"CustomMappings": {},
"EnableHistory": true,
"BackgroundNotifications": false,
},
"Sets": {
"Default": {
"Enabled": true,
"HandlerGroups": [],
"DisabledHandlers": [],
"HandlerDefaults": {
"Enabled": true,
"Actions": [],
"UseFlatStructure": true,
"GuidNames": false,
"FailOnMissingParent": false,
"Group": "",
"Settings": {}
},
"Handlers": {}
}
}
}
}
uSync:Settings
RootFolder
Location in which uSync will save and read the exported files.
Default Set
Name of the handler set used by default.
ImportAtStartup
Handler groups used when importing items at startup.
ExportAtStartup
Handler groups used when exporting items at startup.
ExportOnSave
Handler groups whose items will be exported when changes are saved in Umbraco.
UiEnabledGroups
Handler groups that show in the uSync dashboard.
ReportDebug
Create a report while producing an export (debugging only).
AddOnPing
Ping the jumoo.co.uk website to check for addons and updates.
FailOnMissingParent
Should an import fail if the parent of an item is missing.
CacheFolderKeys
Use a cache for the names and keys of folders during import. This increases import speeds.
ShowVersionCheckWarning
Display the warning box if the current import is from an older version of uSync.
CustomMappings
Custom item mappings for 3rd party or custom property editors.
EnableHistory
Enable viewing the import and export history in the uSync dashboard.
BackgroundNotifications
Run all notifications on background thread to speed up import processing, see Background Notifications
Group Values
Group values can be None, All or any Settings group that you have installed on your site. The default groups are 'Settings' and 'Content'.
Group values can be a combination of settings groups (but all or none will override any other groups set in a list)
None
No groups, effectively off
All
All groups, everything on
Settings
Settings only (e.g Datatypes, doctypes)
Content
Content only (e.g media, content)
Forms
Umbraco Forms elements
Users
Users and groups
Members
Members and groups
uSync:Sets
Enabled
Turn on the handler set.
HandlerGroups
List of handler groups to include in this set.
DisabledHandlers
List of handlers to disable for this set.
uSync:Sets:HandlerDefaults
Default settings for the handler, these values can be overridden for individual handlers.
Enabled
Enable or disable the handler.
Actions
List of actions for which the handler is valid.
UseFlatStructure
Use a flat file structure for the file produced by the handler.
GuidNames
Should uSync use the guid of an item as its file name. This ensures there are no clashes in names, but makes it harder to manually read what settings are in a folder.
FailOnMissingParent
Should an import fail if the parent of an item is missing.
Group
Override the group used for a handler.
Settings
Specific settings for each handler, this will override the defaults.
Action Values
Actions values determine which 'actions' a handler fires for. The handler action value can be a combination of any of the actions below.
Report
Report any changes to items
Import
Import items
Export
Export items when started via dashboard
Save
Export items on save
All
All of the above actions
The default value is all actions.
For Handler Settings, see the Handler Docs.