Zum Hauptinhalt gehen

Add custom item to drop down list after populating from domain

Kommentare

3 Kommentare

  • Guillaume Ruelle

    Just after your Get Coded Value Domain, put an Add item.

    for Collection, put =$getCodedValueDomain.domain.codedValues

    for Item, put ={name:"Blank",code:"Blank"}

    0
  • Alex St. John

    I tried this, but I get an error stating that the collection is read-only. What could cause it to be read-only?

     

    If this won't work, can I use Create Value to initialize a collection (IList) and add everything to that?

    0
  • Alex St. John

    I try the Create Value with expression like "= new IList<ListItem>()", "=new List(Of Object)", etc. but get another error stating that the object can't be used as a constructor.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.