Errors occured submitting to list: Invalid Yes/No value A Yes/No field contains invalid data. It should be either 1 or 0. Please check the value and try again. - InfoPath Dev
in

InfoPath Dev

Errors occured submitting to list: Invalid Yes/No value A Yes/No field contains invalid data. It should be either 1 or 0. Please check the value and try again.

Last post 02-10-2011 09:29 AM by Hilary Stoupa. 18 replies.
Page 2 of 2 (19 items) < Previous 1 2
Sort Posts: Previous Next
  • 02-10-2011 08:58 AM In reply to

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

    Re: Errors occured submitting to list: Invalid Yes/No value A Yes/No field contains invalid data. It should be either 1 or 0. Please check the value and try again.

    Is this what you're looking for?

    This is the location of the XML file from step 2 on page 11.
    http://windows/kits/_vti_bin/owssvr.dll?CMD=Display&List={60A2F8ED-5B45-45D5-9120-37E1536D053C}&XMLDATA=TRUE&NOREDIRECT=TRUE

     

     

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

    Re: Errors occured submitting to list: Invalid Yes/No value A Yes/No field contains invalid data. It should be either 1 or 0. Please check the value and try again.

    I am utterly confused at this point.

    I believe you are having issues with your SubmitToSharePointList command because you do not have the correct XPath to your attachment field. I do not understand what the owssvr.dll link for the Refresh command has to do with this issue. Perhaps you can tell me?

    Hilary Stoupa

  • 02-10-2011 09:13 AM In reply to

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

    Re: Errors occured submitting to list: Invalid Yes/No value A Yes/No field contains invalid data. It should be either 1 or 0. Please check the value and try again.

    The submit attachment is working now. The problem was the XPath to your attachment field like you said. I think I was the one who was confused. :-) Thank you. As I read further in the document, it seems that if someone wants to update an existing record in the table, they would have to look up the ID number of the line, then return to the form and use another button to update it. Is that right?
  • 02-10-2011 09:29 AM In reply to

    Re: Errors occured submitting to list: Invalid Yes/No value A Yes/No field contains invalid data. It should be either 1 or 0. Please check the value and try again.

    When you say "update an existing record in the table", I think you mean update the XML with the latest from the SharePoint list. Is that correct?

    If so, you can do this with the RefreshSharePointListItems command. Generally, I'd suggest setting this command on the finishedLoading node of the QdabraRules data source -- when finishedLoading is true for the condition. That way, when the user opens the XML, the list items get updated.

    Hilary Stoupa

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