Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. MultiChoice Fields

MultiChoice Fields

Scheduled Pinned Locked Moved SharePoint
questioncsharpvisual-studio
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aptiva Dave
    wrote on last edited by
    #1

    I'm building some content types in Visual Studio and I have a field that is a MultiChoice field. I want to be able to populate the choices for this field from another list (that way the admins can put items in for the list and they aren't hard coded in the feature). How can I do that?

    I S 2 Replies Last reply
    0
    • A Aptiva Dave

      I'm building some content types in Visual Studio and I have a field that is a MultiChoice field. I want to be able to populate the choices for this field from another list (that way the admins can put items in for the list and they aren't hard coded in the feature). How can I do that?

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      Well, when I don't be mistaken, there is no easy way to do that, cause MultiChoice fields are static. You have to code you own form, I think and replace the EditForm respectively the NewForm for your the lists using this content-type by your own form. The other solution is to use a InfoPath-Form where you can use an iterating section (don't know if it's called this way in your Infopath, as I use the German edition and translated the term) for doing that.

      ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

      A 1 Reply Last reply
      0
      • I Ingo

        Well, when I don't be mistaken, there is no easy way to do that, cause MultiChoice fields are static. You have to code you own form, I think and replace the EditForm respectively the NewForm for your the lists using this content-type by your own form. The other solution is to use a InfoPath-Form where you can use an iterating section (don't know if it's called this way in your Infopath, as I use the German edition and translated the term) for doing that.

        ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

        A Offline
        A Offline
        Aptiva Dave
        wrote on last edited by
        #3

        Yeah, I figured that would have to be the case. Thanks.

        1 Reply Last reply
        0
        • A Aptiva Dave

          I'm building some content types in Visual Studio and I have a field that is a MultiChoice field. I want to be able to populate the choices for this field from another list (that way the admins can put items in for the list and they aren't hard coded in the feature). How can I do that?

          S Offline
          S Offline
          Sudharsan1985
          wrote on last edited by
          #4

          The only functionality that you want to use to populate the items from the other list means you can go for the lookup column.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups