Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id" - InfoPath Dev
in

InfoPath Dev

Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

Last post 02-03-2011 11:58 AM by Hilary Stoupa. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 01-31-2011 04:36 PM

    • Carolyn2
    • Top 500 Contributor
      Female
    • Joined on 07-15-2010
    • Redmond, WA
    • Posts 35

    Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    I am attempting to submit to a SharePoint list using the instructions here:
    http://www.infopathdev.com/files/folders/qrules/entry61475.aspx

     When I click the "Submit to SharePoint List" button on page 10, it does not update the list and I get an error that says, "Failed to select node for SharePoint List Id."  What can I do about this? 

    Thanks!

    Carolyn

  • 01-31-2011 04:54 PM In reply to

    Re: Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    Hi -- What is the syntax for your command?

    The /id parameter needs to be the XPath to a field in your data source. If you are submitting repeating data, that XPath would be relative (like my:id, if you had a node named "id" in your repeating group). If you are submitting non-repeating data, your XPath will be absolute, like my:myFields/my:Group/my:IdField (if you had a field in your data source located in "Group" named "IdField").

    Hilary Stoupa

  • 02-01-2011 01:24 PM In reply to

    • Carolyn2
    • Top 500 Contributor
      Female
    • Joined on 07-15-2010
    • Redmond, WA
    • Posts 35

    Re: Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    Hi, thanks for replying.

    Here is the syntax of my button command:
    SubmitToSharePointList /submit=ShPSubmit /mapping=mapping /id=my:ID /dsname=AddAttachment /xpath=my:attachments/my:attachmentFile /uniqueName=yes

    It is a repeating table, and the name of the field is "ID." 

    Thanks,

    Carolyn

     

     

  • 02-01-2011 02:18 PM In reply to

    Re: Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    Can you attach a copy of your form to a reply under the Options tab? Or if it is something you'd prefer not to add to a forum post, could you email it to our support email address? You can find that on the last page of your qRules user guide.

    Hilary Stoupa

  • 02-02-2011 10:06 AM In reply to

    • Carolyn2
    • Top 500 Contributor
      Female
    • Joined on 07-15-2010
    • Redmond, WA
    • Posts 35

    Re: Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    I just emailed it to the support address.  Thanks, Hilary!

  • 02-02-2011 03:33 PM In reply to

    Re: Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    Just to update the thread -- The failed to select node for list id error resolved itself -- not sure what was happening there -- maybe an extra space snuck into the command someplace?

    Then the mapping had a URL that included a view -- we want that to just be the base SharePoint Site URL. The submit data connection needed a modification so that the listName parameter was including just the text and child elements....Finally (and here is where we knew we had this thing at our mercy) there was a SharePoint List column with a data type that was not the same as what we were submitting (it was yes / no and the data was not).

    All's well that ends well, and the form is submitting to the list now.

    Hilary Stoupa

  • 02-03-2011 11:46 AM In reply to

    • Carolyn2
    • Top 500 Contributor
      Female
    • Joined on 07-15-2010
    • Redmond, WA
    • Posts 35

    Re: Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    I think what changed is that I changed the command from "id" to "ID".  Maybe I had the wrong case?

  • 02-03-2011 11:58 AM In reply to

    Re: Attempting to submit to SharePoint List - Error: "Failed to select node for SharePoint List Id"

    Mystery solved! Thanks for letting me know. XPath is case sensitive, so if your node is named "ID", you'd need to use the same case in the command.

    Hilary Stoupa

Page 1 of 1 (8 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.