Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • John Funnell 3 posts 83 karma points
    Jul 01, 2022 @ 14:44
    John Funnell

    Extending Umbraco Deploy's Document Connector


    I need to push some additional data when content is transferred between environments using Umbraco Deploy.

    I thought this might be possible by using a custom class that inherits from ServiceConnectorBase<ExampleArtifact, GuidUdi, ArtifactDeployState<ExampleArtifact, IContent>> and is decorated with the attribute[UdiDefinition("document", UdiType.GuidUdi)].

    However, it looks like you can only have one connector per UDI type as I get the exception below when trying this approach out.

    Umbraco.Deploy.Exceptions.AmbigiousMatchException: Duplicate IServiceConnector for "document":

    Is there a way to extend Umbraco.Deploy.Connectors.ServiceConnectors.ContentConnector.DocumentConnector so that I can transfer some addition information?


Please Sign in or register to post replies

Write your reply to: