Copied to clipboard

Flag this post as spam?

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


  • Simon 17 posts 37 karma points
    Apr 11, 2012 @ 16:57
    Simon
    0

    Duplicate Document Type Property

    Hi,

    I have a document type in which I have 5 properties, is there a way to duplicate these properties within the same document type so that everything is the same except for the name and alias?

    Thanks

    S

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Apr 11, 2012 @ 17:21
    Lee Kelleher
    0

    Hi Simon,

    I assume that you are talking about Umbraco 4.7? (Only because you previously asked a question about XSLT) :-)

    If so, there are a few of ways to do this:

    1. Use master document-types.  See this tutorial for more details: http://our.umbraco.org/wiki/how-tos/umbraco-absolute-beginner-tutorial
    2. Export the document-type, (by right-clicking and selecting "Export Document Type"), save it.  The file extension will be ".udt", this is actually an XML file. Open the file in your favourite text-editor... and change the names of the <Name> and <Alias> elements and save the file. Now you can import this back into Umbraco by right-clicking the "Document Types" node, selecting "Import Document Type".
    3. Look at using the DocTypeMixins package - more information on its project page.

    Cheers, Lee.

  • Simon 17 posts 37 karma points
    Apr 11, 2012 @ 17:29
    Simon
    0

    Perfect, went for the quick and dirty xml editing. 

    Thanks for the quick reply.

Please Sign in or register to post replies

Write your reply to:

Draft