Defects

SetMultiListValues in JavaScript not working



ID:    D27739
Published:    26 January 2021
 

Defect Id

DEF343954

Originally Reported Against

SBM 11.4.2

Status

Submitted

Description

SetMultiListValues in JavaScript no longer works as expected.

Resolution

To work around this bug, you can use something like the following instead:

 function Searchable() // Called for the searchable multi fields
{
var myfield = "SEARCHABLE_TEST_VALUES";
var myAux = GetFieldByName(myfield); // Get right options list
value = "one";
tsid= 1; // check this is the right ts_id
myAux.options[0] = new Option(value,tsid);
myArray[0]=tsid;


value = "two";
tsid= 2; // check this is the right ts_id
myAux.options[1] = new Option(value,tsid);
myArray[1]=tsid;
}
 

Find Answers

Type a question or describe what you are looking for below

My Recent Searches

Welcome kb sso

Additional Assistance

  • Submit a Case Online
  • FAQs