Wednesday, April 16, 2008

infopath dataconnection: AllowOverWrite="0"

If you don't allow overwrite of the form with the same name, it would cause an error 'an error occurred while submitting the form' if there exists an infopath form of the same name.

Soln: use the now() function to make the filename unique. cheesy but a quick fix if you don't care about the name.