Copied to clipboard

Flag this post as spam?

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


  • Glob 5 posts 85 karma points
    Jan 24, 2017 @ 14:06
    Glob
    0

    Create Custom datatype from the existing one

    Hello,

    Can i create custom datatype in which i can use existing datatype like media picker,checkbox,textbox, etc...?

    Is it possible?

    Awaiting your reply...

    Thanks,

  • Tim Watts 90 posts 395 karma points
    Jan 24, 2017 @ 15:29
    Tim Watts
    0

    The datatypes use property editors, for example the Content Picker data type uses the Content Picker property editor.

    All you need to do is create a new data type 'New Content Picker' and copy the properties from the original. There is no simple 'copy' command.

    All you need to do then is change the properties which you want to be different (otherwise why would you want another data type?) So you could for example create a Content Picker with a specific Start Node.

    Tim

  • Glob 5 posts 85 karma points
    Jan 25, 2017 @ 02:59
    Glob
    0

    Thanks for your quick reply and good suggestion.

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Jan 25, 2017 @ 07:19
    Dave Woestenborghs
    100

    Good news is that a pull request has been merged in to Umbraco core that will allow you to copy datatypes. Will be in one of the next versions.

    Dave

  • Glob 5 posts 85 karma points
    Feb 10, 2017 @ 15:30
    Glob
    0

    Great!!!

    Thanks for Good news...

Please Sign in or register to post replies

Write your reply to:

Draft