For example, in development we want to import content/media, but not in test/production.
This was easy with uSync 8.
The documentation mentions handlers and disabledHandlers on sets, but not how to configure those properties. Is it just a list of named handlers? Are the names the same as in uSync 8?
Also,
the uSync setting schema file in App_Plugins was not updated to match the documentation when updating the NuGet package.
the documented uSync settings schema has at least two typos (ExportAtStatup and Enalbed) that don't match the example settings. I'm not sure whether to use the example settings or the schema settings.
we are just in the process of updating all our docs, so they aren't quite finished yet, but disabling content edition can be done with DisabledHandlers, but actually its slightly easier to do it with the handler groups (so handlers are either settings, or content)
for example disabling content / media being saved to disk - can be done configuring uSync to only save settings
the schema file isn't in use yet, we are trying to figure out a way to inject our schema into the existing umbraco schema file, so you get intellisense inside appsettings.json, haven't quite figured it out in a reliable way.
uSync 9: disabling handlers & schema issues
How do you disable handlers in a set in uSync 9?
For example, in development we want to import content/media, but not in test/production.
This was easy with uSync 8.
The documentation mentions
handlers
anddisabledHandlers
on sets, but not how to configure those properties. Is it just a list of named handlers? Are the names the same as in uSync 8?Also,
the uSync setting schema file in
App_Plugins
was not updated to match the documentation when updating the NuGet package.the documented uSync settings schema has at least two typos (
ExportAtStatup
andEnalbed
) that don't match the example settings. I'm not sure whether to use the example settings or the schema settings.Hi,
we are just in the process of updating all our docs, so they aren't quite finished yet, but disabling content edition can be done with DisabledHandlers, but actually its slightly easier to do it with the handler groups (so handlers are either settings, or content)
for example disabling content / media being saved to disk - can be done configuring uSync to only save settings
Dev docs are here:
https://dev-docs.jumoo.co.uk/usync/docs/uSync/guides/content
Thank you. What should we put in
DisabledHandlers
to disable specific handlers?This doesn't seem to work; it results in an empty list of disabled handlers when looking in the uSync Settings GUI:
EDIT: Just noticed it works if the Set is named
Default
.hi
also handler names are documented here :
http://usync.docs.jumoo.co.uk/docs/reference/handlernames
the schema file isn't in use yet, we are trying to figure out a way to inject our schema into the existing umbraco schema file, so you get intellisense inside appsettings.json, haven't quite figured it out in a reliable way.
Hi, updated link to handler names docs: https://docs.jumoo.co.uk/usync/12.x/usync/reference/handlernames/
is working on a reply...