Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A VTLIB way to add values to an existing picklist
#2
You have to use setPicklistValues() method.:

You get a reference to the field:
https://github.com/tsolucio/corebos/blob/master/build/changeSets/DefineGlobalVariables.php#L256

and then call the method with the list of values in an array:
https://github.com/tsolucio/corebos/blob/master/build/changeSets/DefineGlobalVariables.php#L296

vtlib will not repeat any existing values
Joe
TSolucio
Reply


Messages In This Thread
RE: A VTLIB way to add values to an existing picklist - joebordes - 05-17-2017, 11:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)