Question

I am working with Infopath forms and workflows. 1) I have added a new field to the existing Data Source in Existing Infopath Template. But I have not added a User control from the added field. 2) I published the form with the new fields and promoted the fields as well to the library. 3) When I try to access the Field in a existing form using a event reciever(Used Xpath to access the new Field). It gives a Object Reference Exception.

How can I update the existing forms with the added new field.

Thanks in advance!

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top