0

我正在使用 Infopath 表单和工作流程。1) 我在现有信息路径模板中的现有数据源中添加了一个新字段。但我没有从添加的字段中添加用户控件。2) 我发布了带有新字段的表单,并将这些字段也推广到了图书馆。3)当我尝试使用事件接收器访问现有表单中的字段时(使用 Xpath 访问新字段)。它给出了对象引用异常。

如何使用添加的新字段更新现有表单。

提前致谢!

4

1 回答 1

0

Existing forms won't have the added field until they resubmitted. Since I was accessing the nodes through the code what I have done was checked the element is available when the time of updating and if the node is not there I have created the nodes by code. This worked for me.

于 2013-07-23T11:22:23.580 回答