It's all about the answers!

Ask a question

How to add multiple users name in contributor type attribute using DOJO script


CLM _User (214) | asked Nov 18 '21, 1:57 a.m.
edited Nov 18 '21, 1:58 a.m.

 Hello,


I have two attribute one is team area and another is custom contributor, I want to show users name in contributor attribute based on team selection using Dojo script, is it possible to push values into contributor using Value set provider script.

below is generic script, please suggest is it possible using Dojo script or not

dojo.provide("com.example.ValueSetProvider11");

(function() {
    dojo.declare("com.example.ValueSetProvider11", null, {
        getValueSet: function(attributeId, workItem, configuration) {
       
            var result= [];
            result.push("_SsBF4DZuEeypp4-L1XAmrg");
            result.push("_hKXl0DZuEeypp4-L1XAmrg");
            return result;         
        }
   });
})();

Be the first one to answer this question!


Register or to post your answer.