Hey everyone,
I am a relative newbie (I know VB and VBA but have never coded it in Sharepoint.)
The issue I'm having is a non-coded one, though.
We've created a form that requires multiple approvals, in order, based on field responses in the form. To handle routing through the multiple signatures, I promoted several fields to view in the column and needed for Workflows. 'Status, Description, DocumentID, Year'
We published it to our Production Sharepoint server and all was good until they requested changes to the form.
When I moved up the changes by publishing, it overwrote the Template.xsn and ALL previous form signatures became invalid.
PROBLEM ONE - Is there any way to revalidate these signatures?
Lesson learned - I discovered after research that to prevent that pain, I have to publish as a Content Type.
Unfortunately, when I do, although the previous forms stay linked to their previous forms wonderfully, and the Invalid Signatures problem went away,
Infopath seems to have created duplicate columns for the promoted fields - this appears to happen randomly. I see no way to keep Infopath from doing this.
I found a separate thread here on this issue with a 'workaround' which involves matching the GUID of the promoted fields to the GUID of the fields promoted on the server. I can get to the GUIDs on the server using SPM, but I have NO WAY of seeing the XML of the xsn document I'm about to publish.
PROBLEM TWO: HELP! How do I view/change the XML of the Infopath document to publish? Is there a patch for Infopath now that fixes this issue/provides an additional checkbox to prevent it?
PROBLEM THREE: HOW do I get rid of the fields on the server? Using SPM? what is the impact of doing that? Currently, one of the promoted fields is Read-Only. (The description). I noticed that the 'Allow users to update this field in Datasheet Mode' was unchecked. I changed this for future publications/documents, but how do I modify the previous fields so that I can get rid of them?
PROBLEM FOUR: For the several versions now published, HOW do I remap their promoted fields to the correct GUID now that they are published to the server? Using SPM again? I noticed in Site Settings I should be able to disassociate and delete these promoted fields, but the 'read only' one isn't modifiable.