Copied to clipboard

Flag this post as spam?

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


  • Bill Haggerty 43 posts 177 karma points
    Apr 06, 2016 @ 18:17
    Bill Haggerty
    0

    Complex Data Types??

    What I would like is to have on the Content editing page...

    A property that accepts multiple rows.

    The content editor should see a row of three text boxes and a file selector. And a button for deleting the row. At the end should be a button to save/create a new line.

    Let's call it ContactList

    [Name ] [Phone ] [E-mail ] [ .jpg file upload] [Delete] [ Save/ Add Row]

    That way, the content editor can add from 1 to n contacts, and then in the template, the ContactList is enumerated, and html is created with Razor.

    This seems like it would be a common thing. I am just getting used to Umbraco, and I have not seen this yet. Please some general steps of what to do or some beginning. I don't see how to make the Data Types compositions. Thanks !!

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Apr 06, 2016 @ 19:23
    Nicholas Westby
    1

    Archetype could facilitate that: https://our.umbraco.org/projects/backoffice-extensions/archetype/

    It allows you to add multiple entries of complicated data, including the potential for nested data structures.

  • Bill Haggerty 43 posts 177 karma points
    Apr 07, 2016 @ 13:57
    Bill Haggerty
    0

    Thanks !! That looks like it is exactly what I was looking for !!

Please Sign in or register to post replies

Write your reply to:

Draft