It's all about the answers!

Ask a question

RTC WEB Javascript Libraries


vinitha dsouza (147223136) | asked Jul 18 '16, 5:45 a.m.
Hello Team,

I still find it difficult by going through the documentation given. Not sure what happens what is valid type of Params to be sent for functions

Consider the function below for util.js,

getNewWorkItemUri2: function(parms) {

              parms.typeId = parms.typeId || parms.typeName; // typeName is deprecated
                var suffix = parms.typeId ? "&type=" + parms.typeId : "";
                  if(parms.tempId) {
                        suffix = suffix +  "&ts=" + parms.tempId;
                  } else {
                    suffix = suffix +  "&ts=" + this.getUniqueId();
                  }
                  if(parms.addLinkType && parms.addLinkedItemId && parms.addLinkedProjectAreaItemId) {
                     suffix = suffix + "&addLinkedItemId=" + parms.addLinkedItemId
                                        + "&addLinkType=" + parms.addLinkType
                                        + "&addLinkIsSource=" + (parms.addLinkIsSource == true)
                                        + "&addLinkedProjectAreaItemId="
                                        + parms.addLinkedProjectAreaItemId;
                 }

               return this._basicPrefix + "newWorkItem" + suffix;
              },


Not sure what is addLinkIsSource and what is limitations

Any help please!!


Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.