RTC WEB Javascript Libraries
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!!
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!!