Error

A Score Level 1

Expression evaluation error [evaluation ID = DD2TAAGA] in rule ‘ibs_referencetableibsrefrfld' (called by rule ‘ibs_referencetables') at function a!dropdownField [line 312]: A dropdown component [label=“FLD_ID”] has an invalid value for “value”. All selected values must be present in the choiceValues array, but value was 56 and choiceValues was 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Beth

    You should just need to post the contents of a!dropdownField_20r2(), including the choiceValues, value, and saveInto parameters (which you haven't included here).  In this example everything prior to a!dropdownField is not really relevant.

    It may also help to see the part of your code where local!totalRowList is first initialized.  And since it looks like your choiceLabels code is doing something fairly convoluted, a brief explanation of what you're trying to accomplish over-all might help folks understand what's happening there.

    As an aside, when inserting SAIL code like this, there is a handy feature here in Community called "Insert Code" ("Insert" --> "Insert Code") which will provide a text box you can paste code into, which will preserve important formatting such as indentation, along with preventing longer code from blowing out the comment length.

Children
No Data