Forum Replies Created
-
AuthorPosts
-
Now receiving the following error:
TypeError: Unable to get property ‘3’ of undefined or null referenceHere is my script:
function UpdateIRWs(){
var arrOfIDs = [];
jQuery.each(spjs.vLookup.dataObj.vLookupIRWs[spjs.dffs.data.thisItemID].items,function(id,vLookupListItem){
arrOfIDs.push(id);
});
spjs.utility.updateItem({
“listName”:”{2a4f5f2c-990e-4743-b605-1167eb89e4c3}”,
“id”:arrOfIDs,
“data”:{“Display_x0020_ID”:getFieldValue(“Display_x0020_ID”)}
});
}Any ideas on what is causing this?
Works perfectly. Thanks so much.
This works partially; however, instead of bringing in the text I replace “NEW_VALUE” with, I would like to bring in the value of a field in the parent form and carry that over to the field with the same name in the child form. Here is what I have:
function callMeFromChangeRule(){
var arrOfIDs = [];
jQuery.each(spjs.vLookup.dataObj.vLookupRACI[spjs.dffs.data.thisItemID].items,function(id,vLookupListItem){
arrOfIDs.push(id);
});
spjs.utility.updateItem({
“listName”:”{e9392598-2d1a-4437-9ef1-456d35d50577}”,
“id”:arrOfIDs,
“data”:{“Display_x0020_ID”:”Display_x0020_ID”}
});
}The result is it puts “Display_x0020_ID” in the child field named Display ID instead of the actual value of the parent field “Display_x0020_ID”.
Just to clarify, when I reference the “Display ID” field in the parent, it is not the “ID” field that SP automatically assigns, I created a single line of text field, where I enter a value. Does this change things as to whether or not I can update the child items when this field in the parent item changes?
I have attempted the workflow approach, but it only finds the first matching record in list B and then stops.
Getting close, but how can I make the tooltip appear to the right of the required field asterisk? With the above code, the order is [Field Name][Tooltip][Asterisk].
Here is the code from the developer console for the required star. Also, I would like to have the tooltip icon to the right of the label with no added spacing if possible.
Attachments:
My colleague is not sending to an external email address, they are sending it to themselves using their internal email address.
Hi,
I actually changed the “Site Look” and the issue resolved itself.
Thanks.
I am using v4.366. Yes, the issue is related to scrolling down in a form. When I hover or click the tooltip icon, the tooltip box does not appear next to the field it is associated with, but rather further down on the page after I scroll down.
I am working in SP 2013 and am having this same issue, but when I add the above script to the DFFS_Frontend_CEWP.html file below the DFFS_Frontend_min.js script, the tooltip does not appear on hover or on click. I tried changing “if($(“#s4-workspace”).length < 0” and still same result. Any help is appreciated.
-
AuthorPosts