Insert User to Assigned To Field of SP List from Infopath - InfoPath Dev
in

InfoPath Dev

Insert User to Assigned To Field of SP List from Infopath

Last post 04-26-2011 05:16 AM by tzigone. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-26-2011 05:16 AM

    Insert User to Assigned To Field of SP List from Infopath

    I have an infopath 2010 form and it submits data to a sharepoint 2010 list. The row has a person picker control, this field needs to submit its data to "Assigned To" column of the list. However when it tries to submit, Sharepoint logs say "Unexpected Error Occured".

    This is code for retrieving the data in the assigned to field of infopath form. 

    "rows.Current.SelectSingleNode( _

    "/my:myFields/my:rows/my:row/my:AssignedTo/pc:Person/pc:AccountId", NamespaceManager).Value.ToString )"

     

    , I am getting the following error. How can I insert data to Assigned to Column of a Sharepoint list 2010?

    <Batch>      <Method ID="1" Cmd="New"><Field Name="Title">buububu</Field><Field Name="KpiDescription"/><Field Name="TaskDueDate">2011-4-26.04.2011T0:0:0Z</Field><Field Name="AssignedTo">Domain\testuser</Field></Method></Batch></tns:updates></tns:UpdateListItems></SOAP-ENV:Body></SOAP-ENV:Envelope> f024043b-38fc-4182-9224-daee8515cdc6
    04/26/2011 12:05:14.30  w3wp.exe (0x1890)                        0x17D4 SharePoint Foundation          Logging Correlation Data       xmnv Medium   Site=/projeler/Yazilim f024043b-38fc-4182-9224-daee8515cdc6
    04/26/2011 12:05:14.30  w3wp.exe (0x1890)                        0x17D4 SharePoint Foundation          General                        c3pa High     Batchmgr Method error. Errorcode: 0x0affab30. Error message: Unexpected error..... (Sonuç Kodu: 0x80020005) f024043b-38fc-4182-9224-daee8515cdc6

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