I've been very busy the last few months with building Infopath forms that are published to a MOSS server and during this period I came accross some pretty annoying things. And ofcourse I want to share my frustations with you in the hope you don't get these frustations as well (or just to let you know you are not the only one ;)
1. Content Types
Be very aware of the functionality of ContentTypes, as soon as you publish your infopath form with custom code in it, it becomes a contenttype. This is not ideal if you are not sure which fields you wanted to promote as columns in Sharepoint. You could end up with a contenttype with several columns you never use. Or even worse, new fields are not added (c.q. promoted) to the existing contenttype, so you cannot use them in your custom workflow.
2. Deletion of the feature elements by MOSS
Every once in a while I am deploying a new version of a form, using the central administration page to upload the form, I receive the following error:
Failed to find the XML file at location '12\Template\Features\FT-01-15c4e6f3-1f3b-d12c-fcac-6cf906ce99b6\Feature.xml'
What happens is that Sharepoint is trying to upgrade the form. During this upgrade a new subfolder is created in the "FT-xxx" folder where the last version is stored. And what I think is happening is that the new version of the solution file is not stored in a main folder so Sharepoint cannot update the feature.xml and elements.xml and therefore deletes them.
To solve this problem, you just copy the feature.xml and elements.xml from another form template and modify these accordingly to the 'corrupt' form template.
3. The form has been closed
This one I do not yet understand, sometimes if successfully published a new version of my form template and want to to view/open the form and then without any error I'm confronted with 'the form has been closed' message. My solution to this is just republish the same form and waste another 5mins and then it works..
Don't get me wrong btw, it is a great feature and I will continue to use to build relatively easy forms with it. I just had to write off my frustations :)