Return a list of categories from a script based value set provider?
![]()
I'm trying to filter the list of categories, displayed by the "Filed Against" editor presentation, by using a script based value set provider. However, for some reason I can not return more than one category. Returning an array with one item works, returning multipe entries does not.
This works:
dojo.provide("com.example.ValueSetProvider");
This does not:
dojo.provide("com.example.ValueSetProvider"); (function() { dojo.declare("com.example.ValueSetProvider", null, { getValueSet: function(attributeId, workItem, configuration) { var result= []; result.push("_WStlQChtEeS6O_h3MSj9RQ"); result.push("_ABClQChtEeS6O_h3MSj9DE"); return result; } }); })();
Is it possible at all to return more than one category when using a script based value set provider?
|