Copied to clipboard

Flag this post as spam?

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


  • Chris Morley 12 posts 103 karma points
    Aug 13, 2019 @ 19:37
    Chris Morley
    0

    Composition Custom Interface implimentation

    I'm creating a nuget package which when installed creates some document types and content when installed. but im having some confusion on how to manipulate the models builder into implementing my interface.

    My package has an IUserComponent which creates a Composition DocumentType my package also includes a view which needs a model to pull content from the IPublishedContent

    When my i assign a documentType to be composed of my newly created composition, ModelsBuilder makes the document type impliment the composition Interface. but because the interface is declared from the Website, not from my package.

    How do i tell modelsuilder that by implimenting the composition created from this package should impliment my packages Interface not the one from umbraco

    Hope im making sense Chris

  • 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