Copied to clipboard

Flag this post as spam?

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


  • Kalle 7 posts 36 karma points
    Mar 05, 2019 @ 10:59
    Kalle
    0

    Enable non element types in Nested Content

    Hi,

    I'm developing a website where I want to use the nested content property to add sections to a page. Some sections will be unique to the page and some will be shared across the site. To add shared content to a list of nested content I would add special doc type with a link to a section node in the tree.

    In Umbraco 7 this could be accomplished by making any document types available both in the tree (shared) and in a nested content property. However in version 8, an element type must be created specifically for the Nested content property. This means I would have to create two identical document types to make this work. Obviously this limitation makes the system less flexible.

    Any thoughts or background on this limitation would be appreciated, or perhaps a workaround!

  • Jessica 1 post 71 karma points
    Mar 09, 2019 @ 05:21
    Jessica
    0

    Hi,

    Can you explain a little more on how to create nested content in Umbraco 8. I have tried but the Document Type and tab drop-down's are empty. could you provide some steps to achieve it. I would like to create image slide show with title and description for each image. I created all individual properties but don't know how combine in nested content.

    Thanks in Advance!

  • Shaun 248 posts 475 karma points
    Mar 11, 2019 @ 14:35
    Shaun
    0

    I would also love to know how to do this. I'm appalled at the paucity of docs for the new Umbraco 8 stuff.

  • Søren Gregersen 234 posts 977 karma points c-trib
    1 week ago
    Søren Gregersen
    0

    It was pointed out many times why and when documentation was going to be released.

    The v8 release was done to get it out - if you are not comfortable using it, stay on v7. v8 will get better and better for every release, but it was never meant to be in the same state as a 5 year old product, with 14 minor releases and 100+ patch releases.

  • Rene Becker 5 posts 76 karma points
    1 week ago
    Rene Becker
    0

    Hi there, Running into the same issue. Already any thoughts on a workaround?

  • Proxicode 112 posts 284 karma points
    1 week ago
    Proxicode
    0

    UPDATE As pointed out below I got ahead of myself and answered this without reading the question carefully. My answer here is for a basic NestedContent setup and not what the OP asked for. Sorry.


    For Doctypes that are to be allowed as Nested Content Elements you need to go to the Doctypes Permission tab and enable the "Is an Element type" setting.

    enter image description here

    -Roger

  • Søren Gregersen 234 posts 977 karma points c-trib
    1 week ago
    Søren Gregersen
    0

    Hi, this does not really help the OP, since it is pointed out they don't want this solution :)

  • Proxicode 112 posts 284 karma points
    1 week ago
    Proxicode
    1

    You're right Søren I didn't read the question very well did I? Sorry. I do like your solution below.

  • Søren Gregersen 234 posts 977 karma points c-trib
    1 week ago
    Søren Gregersen
    101

    Hi,

    I would create a compostion with the properties, and then use that in either a element or document.

    Lets say you want to include imformation about a person somewhere, you create a "Person Composition". Then if you need a "Person" as a document, create a "Person Document" that is composed by the composition - this will then be able to live in the content tree. When you need elements (for like nested content) you create a "Person Element" that you can then use in where needed.

    Nested content is just the first editor that uses element type. I would expect to see a lot more of them within the next months (think grid elements etc).

  • Rene Becker 5 posts 76 karma points
    1 week ago
    Rene Becker
    1

    Thnx Søren,

    Went with your approach.

  • Kalle 7 posts 36 karma points
    7 days ago
    Kalle
    1

    Thank you Søren, this is the best solution I've seen so far!

    And it seems to work with Models Builder as long as your composition is an element type.

Please Sign in or register to post replies

Write your reply to:

Draft