InfoPath – CAML Date Time format in when submitting to a SharePoint list via a Web Service
This article provides details, instructions and a function to convert date/time field values into ISO 8601 format when updating date/time fields in a SharePoint list using a CAML query from an InfoPath form. When updating a SharePoint list item using a CAML query, the date/time field must be in the correct format or the field in the SharePoint list item will not be updated. Any XML elements in the CAML template after the element containing the incorrectly formatted date/time value will not have an affect on the SharePoint list item either.
InfoPath – CAML Date Time format in when submitting to a SharePoint list via a Web Service
Related posts:
- InfoPath – Update Existing SharePoint List Item Programmatically Using CAML
- InfoPath SharePoint Integration
- InfoPath Web Services instead of SharePoint list Data Connections
- InfoPath Error – Updating Content Type Failed When Publishing to SharePoint
- InfoPath – Update Repeating Elements/Nodes in a Secondary Data Source