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
    0

    Extending Umbraco Deploy's Document Connector

    Hi,

    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?

    Thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies