Error when submitting repeating data to SP List - InfoPath Dev
in

InfoPath Dev

Error when submitting repeating data to SP List

Last post 06-06-2012 11:52 AM by Hilary Stoupa. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 06-03-2012 09:34 AM

    Error when submitting repeating data to SP List

    When i submit to my list, the items show up in SP but the item id is only returned for one of the 3 items in my repeating table. I am getting the following error. Any suggestions on how to resolve this would be greatly appreciated.

    Action: SubmitToSharePointList. Arguments: submit: MeasurementDataSubmit
    mapping: MeasurementDataMapping
    id: my:measurementID
    . Details: Object reference not set to an instance of an object.. Stack: at Qdabra.Tools.RulesLibrary.Commands.PopulateIdsAndLastModified(XPathNavigator outputNav, XmlDocument mapping, XPathNavigator mappingNav, String idXpath)
    at Qdabra.Tools.RulesLibrary.Commands.SubmitToSharePointList_Client(String submitDs, String mappingDs, String id, String dsname, String xpath, String name, String nameFormat)
    at Qdabra.Tools.RulesLibrary.Commands.SubmitToSharePointList()
    at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()

    TIA
    Dean

    Dean
    Charlotte, NC
  • 06-04-2012 05:29 AM In reply to

    Re: Error when submitting repeating data to SP List

     Hi Dean,

    Can you provide info on your data schema and the command used? If possible, attach the form via the Options tab, so we can also take a look at the mapping.

    Thanks.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 06-04-2012 07:56 AM In reply to

    Re: Error when submitting repeating data to SP List

    My form is attached. The error occurs when I use the Submit Report button with the following command, SubmitToSharePointList /submit=MeasurementDataSubmit /mapping=MeasurementDataMapping /id=my:measurementID.

    I am using the combo boxes to select an item from a SP List, then using the Update Metrics List to get the related items to populate the Repeating Section (Metrics). i add data to the rows in the Repeating Table  (Data node) and after clicking the Submit Report button, only the measurementID field in the 1st row of the repeating section gets updated, the others remain blank and i get the error.

    Dean

    Dean
    Charlotte, NC
  • 06-05-2012 08:47 AM In reply to

    Re: Error when submitting repeating data to SP List

    Hi - this is nested repeating data - I don't believe we've tested the command with that as far as the ID parameter goes, and I'm thinking that the command won't currently handle for it. I'm going to take a look, see if there is anything I can do for this for the 4.2 release.

    Hilary Stoupa

  • 06-05-2012 10:35 AM In reply to

    Re: Error when submitting repeating data to SP List

    Ok, thank you very much. If this is a limitation of the qrules command, i may be stuck because this structure meets my business requirements.
    Dean
    Charlotte, NC
  • 06-06-2012 08:51 AM In reply to

    Re: Error when submitting repeating data to SP List

    Hi there - looks like we'll have this fixed for 4.2. I've just made some changes that have my test form working correctly - I need to do a little more unit testing, then get these changes to the test team for more rigorous testing, but I believe the new approach will work just dandy.

    Hilary Stoupa

  • 06-06-2012 09:08 AM In reply to

    Re: Error when submitting repeating data to SP List

    THanks, when do you anticipate releaseing 4.2?
    Dean
    Charlotte, NC
  • 06-06-2012 09:13 AM In reply to

    Re: Error when submitting repeating data to SP List

    It will be sometime this month - we'd hoped for June 15, but still have quite a bit of documentation, etc. to complete, so it may be June 22.

    Send me an email via the forum if you'd like me to inject a test copy of your form with the 4.2 beta so you can test it - it will be another day or two before I'm ready to do that, but if you don't mind beta testing, it would get your issue fixed sooner. :-)

    Hilary Stoupa

  • 06-06-2012 11:12 AM In reply to

    Re: Error when submitting repeating data to SP List

    How do i send you an email with an attachment? the private message and email forms do not seem to provide the ability to attach a file

    Dean

    Dean
    Charlotte, NC
  • 06-06-2012 11:52 AM In reply to

    Re: Error when submitting repeating data to SP List

    Just email me w/out it, I'll reply and then you can send.

    Hilary Stoupa

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