The setParametersAsync
method takes a JavaScript object as it's first parameter. When I pass a literal object with a single value assigned to a key, the method calls it's callback function, executing successfully:
obj = {Slicer_Grade_Level:"11"}
ewa.getActiveWorkbook().setParametersAsync(obj, setParametersAsyncCallback, null)
When I pass a literal object with an array assigned to a key, the method fails to call it's callback function. No error is thrown, and the parameters are not applied to the workbook:
obj = {Slicer_Grade_Level:["11","12"]}
ewa.getActiveWorkbook().setParametersAsync(obj, setParametersAsyncCallback, null)
The workbook is hosted on a personal OneDrive cloud, not in a SharePoint library.
Any suggestions about this apparent limitation would be greatly appreciated.