1.4. 3Dfindit Enterprise: Populate the selection list in the ERP dialog using a VBS expression

[Note]Note

Automatically generated and unedited summary directly from the issue. .

In PARTdataManager, you can populate the drop-down list for a field in the "selectionfile " parameter by calling " comboBox.items.add " multiple times in the VBS expression. In 3Dfindit, this approach does not work. There, the VBS expression must return an object that can be iterated over, such as an array.[4]

For each entry in the list, the array contains two elements: first, the stored value, then the displayed name. Both may be the same. For multiple entries, append additional pairs.

[Array("nb", _
  erpdata.table.selectedRow.GetTranslatedSHORTNB("german"))]