Need URL-based forms in Infopath SP1

S

Steve

I have designed a form with Infopath (not SP1) and publish it to a
Sharepoint library. From there, I fill out the form and save the .XML
back to that form library. If I click on the .XML in the form
library, Infopath loads and displays my form with the data from the
XML file. Everything works just fine.

After upgrading to Infopath SP1, when I design a new form or apply SP1
features to an existing form and publish it to Sharepoint, I run into
problems. I can "fill out this form", but receive an error when I
click the XML file in the form library. I receive one of two
messages:

A) "InfoPath cannot open the file... The form template associated with
this form could not be found... This form is associated with a
URN-based form template...".
B) "The form template associated...cannot be found. It is not on your
computer and the form doesn't specify a location from which to
retrieve it. There is a form template, "{name of my template}," on
your computer... Original location of the form template... {URL where
form was published in Sharepoint}. Do you want to open the form with
the form template on your computer?"

After examining the XML from pre-SP1 forms and post-SP1 forms, it
appears that the pre-SP1 forms are URL based but the post-SP1 forms
are URN-based (i.e. the href= attribute is missing). I don't see any
options in InfoPath for specifying whether to use URL-base or
URN-based forms. How can I use ULR-based forms with SP1? (I do not
want to have to "install" forms on users workstations as it defeats
the purpose of publishing the form to Sharepoint and it complicates
the deployment of new forms.)
 
B

Brian Teutsch [MSFT]

Steve, something must have gotten mixed up in the Publishing to SharePoint
process. Did you use the Publish Wizard, and did you leave a Publish URL in
the step after entering your form name?

SP1 forms still include a URL, though the usage of URNs has been greatly
expanding to allow for cases where the URL isn't available.

Brian
 
S

Steve

I think you may be right. I created a brand new form (only 2 fields)
and published it and have no problems accessing it. So it seems my
form has some how "gotten mixed up".

My form has over 100 data elements and a dozen complex views. I'd
hate to scrap the whole thing and start over. What's the best way to
salvage the data and the views and bring them into a new, "clean"
form?
 
B

Brian Teutsch [MSFT]

Likely republishing the form will solve the problem. You might have to use a
new SharePoint form library, but publishing over the current one may work.
If that doesn't work I'll get some more info to help you out, but I bet it
will.

Brian
 
S

Steve

I've republished to a new form library. I can 'save' the XML to the
library and read it just fine (now is URL-based).

The new twist:
However, my users will not 'save' the form but 'submit' the form to
the K2.Net 2003 workflow software which then posts the XML back to the
form library. Apparently, K2.Net is 'converting' the XML when it
posts it to URN-based. I'll need to open a support ticket with Source
Code and have them look into this.

Thanks for your help, Brian.
 
B

Brian Teutsch [MSFT]

Blech, that's an unusual source for an error. Good luck getting it resolved
with K2.

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top