Hello, I have Suitelet with a sublist `type: ser...
# suiteflow
s
Hello, I have Suitelet with a sublist
type: serverWidget.SublistType.LIST
that calls a ClientScript to set the values. The following works for INLINEEDITOR, but I can't seem to set the values for a LIST sublist. Any insight would be helpful:
Copy code
/* Client Script CurrentRecord */ 


         //Display Search Results in LIST 

              myRecord.selectNewLine({
                  sublistId: 'sublist_2'
              });

              myRecord.setCurrentSublistValue({
                  sublistId: 'sublist_2',
                  fieldId: 'business_name',
                  value: entity
              });

              myRecord.commitLine({
                  sublistId: 'sublist_2'
              });
k
Try #C29HQS63G