Copied to clipboard

Flag this post as spam?

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


  • Lasse 49 posts 161 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 6163 posts 24143 karma points MVP 8x admin c-trib
    May 27, 2019 @ 22:51
    Alex Skrypnyk
    0

    Hi Lasse

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

    Thanks,

    Alex

  • Lasse 49 posts 161 karma points
    May 28, 2019 @ 08:22
    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 6163 posts 24143 karma points MVP 8x admin c-trib
    Jun 03, 2019 @ 17:03
    Alex Skrypnyk
    0

    Hi Lasse

    Did you solve this issue?

    Alex

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    May 28, 2019 @ 08:47
    Alex Skrypnyk
    0

    You can use nested content inside nested content

Please Sign in or register to post replies

Write your reply to:

Draft