Copied to clipboard

Flag this post as spam?

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


  • Lasse 38 posts 149 karma points
    May 22, 2019 @ 12:59
    Lasse
    0

    Type / Namespace 'Archetype' could not be found

    Hello,

    What am i doing wrong, i cannot get this to work at all, i've added an archetype property to my document type, which is used in a nested content.

    In my umbraco content everything works just fine, but after i run model builder and try to build my solution i get this error

    enter image description here

    And my code also gives me an error.

    enter image description here

    i've never had issues before, but now all my archetype properties breaks and gives me an error

    An error occured
    
    
    Mapping types:
    DataTypeDefinition -> IEnumerable`1
    Umbraco.Core.Models.DataTypeDefinition -> 
    
    System.Collections.Generic.IEnumerable`1
    [[Umbraco.Web.Models.ContentEditing.PreValueFieldDisplay, 
    umbraco, Version=1.0.7009.26206, Culture=neutral, 
    PublicKeyToken=null]]
    
    Destination path:
    DataTypeDisplay.PreValues.PreValues
    
    Source value:
    Umbraco.Core.Models.DataTypeDefinition
    
  • Alex Skrypnyk 5221 posts 19029 karma points MVP 3x admin c-trib
    30 days ago
    Alex Skrypnyk
    0

    Hi Lasse

    What version of Umbraco you are using? Archetype is a depricated package, use Nested Content instead.

    Thanks,

    Alex

  • Lasse 38 posts 149 karma points
    29 days ago
    Lasse
    0

    I am using 7.14,

    i would want to use nested content, but you cannot use nested content inside nested content

  • Alex Skrypnyk 5221 posts 19029 karma points MVP 3x admin c-trib
    23 days ago
    Alex Skrypnyk
    0

    Hi Lasse

    Did you solve this issue?

    Alex

  • Alex Skrypnyk 5221 posts 19029 karma points MVP 3x admin c-trib
    29 days ago
    Alex Skrypnyk
    0

    You can use nested content inside nested content

Please Sign in or register to post replies

Write your reply to:

Draft