Copied to clipboard

Flag this post as spam?

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


  • Robert J. Bullock 386 posts 404 karma points
    Feb 10, 2010 @ 16:42
    Robert J. Bullock
    0

    Dropdown List with Editable Values

    Has anyone created a dropdown list where you can edit the value field?

     

    I am importing data from an external database with simple lookup columns that I'd like to map to a dropdown list, but I can't control the value of the prevalue list.

  • Lee Kelleher 3945 posts 15163 karma points MVP 10x admin c-trib
    Feb 10, 2010 @ 17:17
    Lee Kelleher
    1

    Hi Robert,

    Take a look at Dirk's CodePicker data-type.  It will let you use the values directly from your database. No need to add via PreValues!

    http://www.netaddicts.be/articles/codepicker-a-custom-datatype.aspx

    Good luck, Lee.

  • Robert J. Bullock 386 posts 404 karma points
    Feb 10, 2010 @ 17:46
    Robert J. Bullock
    0

    I'm aware of that approach, but what I want is a dropdown picker in Umbraco editable values and no external database. I want to get rid of the external database, let's put it that way.

    I'll examine how Umbraco stores the prevalues. Maybe I can edit the value directly. 

  • jaygreasley 416 posts 403 karma points
    Sep 23, 2011 @ 16:27
    jaygreasley
    0

    Hey,

    Did you ever find a solution to this?

    I want the same thing as my database that will contain the lookup values is behind a DMZ else I'd use www.netaddicts.be/.../...er-a-custom-datatype.aspx 

    or http://our.umbraco.org/projects/developer-tools/dropdown-with-sql-source

    tia

    Jay

  • Nick 101 posts 122 karma points
    Oct 30, 2013 @ 12:20
    Nick
    0

    My approach was to use a custom control with a custom values editor setting that contains my text/value pairs.

    Not the best but it does the job. Very surprised no proper solution exists for this! 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies