Danielle Arcuri

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 46 total)
  • Author
    Posts
  • in reply to: Update List Items #31807
    Danielle Arcuri
    Participant

    That doesn’t update any of the items now.

    in reply to: Update List Items #31790
    Danielle Arcuri
    Participant

    function callMeFromButton() {
    var arrOfIDs = [];
    console.log(“Current item ID: ” + spjs.dffs.data.thisItemID);
    console.log(spjs.vLookup.dataObj.vLookup[spjs.dffs.data.thisItemID]);
    jQuery.each(spjs.vLookup.dataObj.vLookupTasks[spjs.dffs.data.thisItemID].items, function (id, vLookupListItem) {
    if(vLookupListItem.Status === “Update”){
    arrOfIDs.push(id);
    }
    });
    console.log(arrOfIDs);
    var res = spjs.utility.updateItem({
    “listName”: “{933B2D65-B72B-4F13-94F3-2EEC4DDBAFB3}”,
    “id”: arrOfIDs,
    “data”: {
    “Title”: getFieldValue(“Title”),
    “Plan”: getFieldValue(“Plan”),
    }
    });
    console.log(res);
    }

    This code above is still updating all items even if the status is not “update”

    in reply to: Update List Items #31785
    Danielle Arcuri
    Participant

    That didn’t work. What field type does ‘Status’ need to be? and is there a way to checkbox or something similar the vlookup items you want to update?

    in reply to: Update List Items #31770
    Danielle Arcuri
    Participant

    Sorry one more question. Can you pick and choose which items to update in child list or only update all?

    in reply to: Update List Items #31758
    Danielle Arcuri
    Participant

    I tried the second GUID and now it works, thank you so much!

    in reply to: Update List Items #31756
    Danielle Arcuri
    Participant

    Yes the lists are in the same site.

    The vlookup settings seem good to me. It shows a connection to the child and the child items display but will not update.

    The fields are both single line text.

    Could the GUID be incorrect in the custom JS?

    When I look at my child list settings this is the display so I assume the GUID is B933B2D65-B72B-4F13-94F3-2EEC4DDBAFB3.
    …/_layouts/15/listedit.aspx?List=%7B933B2D65-B72B-4F13-94F3-2EEC4DDBAFB3%7D

    however when I go into DFFS settings on my child list i see this: 933b2d65-b72b-4f13-94f3-2eec4ddbafb3
    backend=1&targetList={933b2d65-b72b-4f13-94f3-2eec4ddbafb3}&targetListBaseUrl

    in reply to: Update List Items #31749
    Danielle Arcuri
    Participant

    ok

    in reply to: Update List Items #31744
    Danielle Arcuri
    Participant

    Sorry, here it is.

    Attachments:
    in reply to: Update List Items #31727
    Danielle Arcuri
    Participant

    Nothing is displaying.

    Attachments:
    in reply to: Update List Items #31720
    Danielle Arcuri
    Participant

    ncaught DOMException: Failed to execute ‘addRule’ on ‘CSSStyleSheet’: Cannot access StyleSheet to insertRule
    at Function.RTE.RteUtility.addStyleSheetRule [internal site]
    at SP.UI.Spellcheck.SpellChecker.Load [internal site]
    at ExecuteOrDelayUntilEventNotified [internal site]
    at ExecuteOrDelayUntilScriptLoaded [internal site]
    at [internal site]
    at ExecuteAndRegisterBeginEndFunctions [internal site]
    at [internal site]

    in reply to: Update List Items #31715
    Danielle Arcuri
    Participant

    I see this now:

    A cookie associated with a cross-site resource at [internal site] was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure.

    Does that mean my company blocks this from working?

    in reply to: Update List Items #31711
    Danielle Arcuri
    Participant

    Yes I do see the vlookup child items and the internal name is vlookup.

    in reply to: Update List Items #31705
    Danielle Arcuri
    Participant

    POST 500 (Internal Server Error)
    send @ jquery.js:4
    ajax @ jquery.js:4
    wrapSoap @ VM3855:1
    updateListItem @ VM3855:1
    updateItem @ VM3855:1
    callMeFromButton @ VM3870:6
    onclick @ EditForm.aspx?ID=1&S…09B456A27CD55BE81:1

    in reply to: Update List Items #31701
    Danielle Arcuri
    Participant

    VM577:3 Uncaught TypeError: Cannot read property ‘1’ of undefined
    at callMeFromButton (eval at <anonymous> (jquery.js:2), <anonymous>:3:45)
    at HTMLInputElement.onclick

    in reply to: Update List Items #31692
    Danielle Arcuri
    Participant

    Disp/Edit

Viewing 15 posts - 16 through 30 (of 46 total)