Sharepoint 2010 InfoPath 2010表单未更新SharePoint列

Sharepoint 2010 InfoPath 2010表单未更新SharePoint列,sharepoint-2010,infopath2010,infopath-forms-services,Sharepoint 2010,Infopath2010,Infopath Forms Services,我有一个InfoPath 2010表单,允许用户创建假期请求并将其存储在SharePoint 2010表单库中 当用户提交表单时,库中的休假状态列的值设置为待定,触发向用户经理发送电子邮件的工作流 经理单击电子邮件中的链接,在浏览器中打开表单,然后单击“批准”。这会将休假状态列的值更改为已批准,从而触发一个工作流,该工作流会将电子邮件发送回用户,告知请求已批准 问题是,表单出了问题。经理单击“批准”时,应触发InfoPath表单规则,该规则将休假状态列的值设置为已批准,但该列不会被更新。Modi

我有一个InfoPath 2010表单,允许用户创建假期请求并将其存储在SharePoint 2010表单库中

当用户提交表单时,库中的
休假状态
列的值设置为
待定
,触发向用户经理发送电子邮件的工作流

经理单击电子邮件中的链接,在浏览器中打开表单,然后单击“批准”。这会将
休假状态
列的值更改为
已批准
,从而触发一个工作流,该工作流会将电子邮件发送回用户,告知请求已批准

问题是,表单出了问题。经理单击“批准”时,应触发InfoPath表单规则,该规则将
休假状态
列的值设置为
已批准
,但该列不会被更新。
Modified
列也没有更新,这表明单击
Approve
按钮时,没有任何内容上载到SharePoint

InfoPath表单有一条规则,该规则在单击“批准”按钮时运行,其操作是将“假期状态”字段的值设置为“批准”;提交时,此字段将升级到SharePoint库

事件查看器中不会生成任何错误。我已启用ULS日志记录,并在下面附上摘录。我希望这已经足够了——我不想用太多的细节来堵塞这篇文章

Calling GlobalStorage.SetItem with index IsConversionInProgress value type Boolean.
XmlFormView: Entering OnInit
GlobalStorage.Leave: Old context - FormControl   Total contexts after Leave - 0
XmlFormView: Leaving OnInit
FormServerPage OnInit Enter: http://intranet/_layouts/FormServer.aspx?XmlLocation=/apps/Vacation/INTRANET_FHenry - 20130227003027.xml&ClientInstalled=true&Source=http://intranet/apps/Vacation/Forms/Temporary%2520view.aspx&DefaultItemOpen=1
GlobalStorage.Enter: New context - {F888E1A1-20CA-470d-A2F4-498A9ECD1C67}   Total contexts - 1
GlobalStorage.Leave: Old context - {F888E1A1-20CA-470d-A2F4-498A9ECD1C67}   Total contexts after Leave - 0
Calling GlobalStorage.SetItem with index IsConversionInProgress value type Boolean.
Calling GlobalStorage.SetItem with index SiteAndWebCache value type SiteAndWebCache.
XmlFormView: Entering OnDataBinding
GlobalStorage.Enter: New context - FormControl   Total contexts - 1
Calling GlobalStorage.SetItem with index BusinessLogicAssemblies value type Dictionary`2.
Calling GlobalStorage.SetItem with index EditingSessionId value type String.
Creating document with editingSessionId: 1cff78abc351429e8df5c5733d481407_90175d3f7fa04d9384760909b98c30a6
Calling GlobalStorage.SetItem with index TimeZoneId value type UInt16.
DataObject.Deserialize.Load for XML name: finished in:00:00:00.0005151.
Calling GlobalStorage.SetItem with index CultureData value type RequestCultureData.
Calling GlobalStorage.SetItem with index FormState value type FormStateBag.
Calling GlobalStorage.SetItem with index XmlForm value type XmlFormHost.
XmlForm.PlayEventLog: http://intranet/_layouts/FormServer.aspx?XmlLocation=/apps/Vacation/INTRANET_FHenry - 20130227003027.xml&ClientInstalled=true&Source=http://intranet/apps/Vacation/Forms/Temporary%2520view.aspx&DefaultItemOpen=1 finished in:00:00:00.0003444.
GlobalStorage.Leave: Old context - FormControl   Total contexts after Leave - 0
XmlFormView: Leaving OnDataBinding
FormServerPage OnInit Leave: http://intranet/_layouts/FormServer.aspx?XmlLocation=/apps/Vacation/INTRANET_FHenry - 20130227003027.xml&ClientInstalled=true&Source=http://intranet/apps/Vacation/Forms/Temporary%2520view.aspx&DefaultItemOpen=1
FormServerPage CreateChildControls Enter: http://intranet/_layouts/FormServer.aspx?XmlLocation=/apps/Vacation/INTRANET_FHenry - 20130227003027.xml&ClientInstalled=true&Source=http://intranet/apps/Vacation/Forms/Temporary%2520view.aspx&DefaultItemOpen=1
FormServerPage CreateChildControls Leave: http://intranet/_layouts/FormServer.aspx?XmlLocation=/apps/Vacation/INTRANET_FHenry - 20130227003027.xml&ClientInstalled=true&Source=http://intranet/apps/Vacation/Forms/Temporary%2520view.aspx&DefaultItemOpen=1
GlobalStorage.Enter: New context - FormControl   Total contexts - 1
XmlFormView: Entering Render
Calling GlobalStorage.SetItem with index GlobalPageObjectsRendered value type Boolean.
DataObject.Serialize.Save for XML name: finished in:00:00:00.0009733.
Disposing all cached sites.
XmlFormView: Leaving Render
GlobalStorage.Leave: Old context - FormControl   Total contexts after Leave - 0
GlobalStorage.Enter: New context - FormControl   Total contexts - 1
GlobalStorage.Leave: Old context - FormControl   Total contexts after Leave - 0
GlobalStorage.Enter: New context - FormControl   Total contexts - 1
Calling GlobalStorage.RemoveAllDecumentOnly!
GlobalStorage.Leave: Old context - FormControl   Total contexts after Leave - 0
GlobalStorage.Enter: New context - FormControl   Total contexts - 1
Calling GlobalStorage.RemoveAll!
GlobalStorage.Leave: Old context - FormControl   Total contexts after Leave - 0
FormServerPage EndProcessRequest: http://intranet/_layouts/FormServer.aspx?XmlLocation=/apps/Vacation/INTRANET_FHenry - 20130227003027.xml&ClientInstalled=true&Source=http://intranet/apps/Vacation/Forms/Temporary%2520view.aspx&DefaultItemOpen=1
Request: Posting back to the Postback Page (XmlHttp).
Calling GlobalStorage.SetItem with index GlobalPageObjectsRendered value type Boolean.
GlobalStorage.Enter: New context - FormControl   Total contexts - 1
Calling GlobalStorage.SetItem with index IsConversionInProgress value type Boolean.
Calling GlobalStorage.SetItem with index SiteAndWebCache value type SiteAndWebCache.
Calling GlobalStorage.SetItem with index CultureData value type RequestCultureData.
Calling GlobalStorage.SetItem with index TimeZoneId value type UInt16.
Calling GlobalStorage.SetItem with index BusinessLogicAssemblies value type Dictionary`2.
Calling GlobalStorage.SetItem with index EditingSessionId value type String.
Creating document with editingSessionId: 1cff78abc351429e8df5c5733d481407_90175d3f7fa04d9384760909b98c30a6
DataObject.Deserialize.Load for XML name: finished in:00:00:00.0005092.
Calling GlobalStorage.SetItem with index FormState value type FormStateBag.
Calling GlobalStorage.SetItem with index XmlForm value type XmlFormHost.
PostbackPage.PlayEventLog:http://intranet/_layouts/Postback.FormServer.aspx finished in:00:00:00.0002112.
Abandoning state for request. Form Template: urn:schemas-microsoft-com:office:infopath:Vacation-Form:-myXSD-2012-06-28T00-57-45
Not persisting state for request due to previous errors. Form Template: urn:schemas-microsoft-com:office:infopath:Vacation-Form:-myXSD-2012-06-28T00-57-45
Disposing all cached sites.
Calling GlobalStorage.RemoveAll!
GlobalStorage.Leave: Old context - FormControl   Total contexts after Leave - 0

我希望我已经解释清楚了。我决不是InfoPath专家。这是由不再可用的承包商开发的代码。它已经正常工作了很长一段时间,然后就停止了。我不知道任何可能影响它的配置更改、权限等。然而,我已经多次重新部署了表单。这并没有解决问题,但也没有破坏任何东西,因为表单数据首次提交到SharePoint works。

请检查您的数据连接。“批准”规则使用的(但失败)可能与主提交数据连接不同。

单击“批准”时,是否通过主表单提交所用的相同数据连接提交?您的答复为我指明了正确的方向。不知何故,提交规则已从按钮中删除。如果不是你的建议促使我检查的话,我永远不会发现它。非常感谢。我已经写下来作为一个正确的答案,所以你可以这样标记它。对于发现这个问题的其他人来说,这将更容易理解。顺便说一句,您可能希望用于将来与SharePoint相关的问题。