05-17-2017, 11:46 AM
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
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
TSolucio