Does uSync save WebHooks?
# help-with-umbraco
c
V13.2.2 & uSync v13.1.3 + FormsEdition (v13.0.0.0) When I create a WebHook locally in Settings | Webhooks, it doesn't seem to register any change with uSync. Just wondered if I'm missing something?
j
This is what I found in the release notes: Webhooks. Umbraco v13 comes with UI support for defining your own webhooks, with no code. for uSync 13 we have added code for the webhooks, but they are disabled by default. but can be enabled either in program.cs or a composer (using a composer is preferred).
builder.AdduSyncWebhooks()
this will then add some uSync webhooks (import completed, item imported etc) to the webhooks, so you can fire off things when uSync is ran.
c
Thanks but that sounds like it's adding webhooks for uSync's actions rather than collecting and serialising webhooks you defined in the Settings section.
k
no - uSync doesn't serialize webhooks to disk, in the same way as it does content, to be honenst hadn't really thought about it. Will have to see whats involved
there is a version that does this now 🙂 https://github.com/KevinJump/uSync/pull/613 - we need to do some testing on it before a proper release.
9 Views