How to correct the XSF Form definition ?

O

Olivier

Hello !

I have a big problem with the XSN Form template I'm
working on. When I have tryed to add multiple views of the
same form, a XSF error occured, saying that the XSF Form
definition file is invalid (Identity Constraint not
respected).

After that, I close InfoPath and try to re-open the XSN
template in Design mode, but because of this error, the
form couldn't be open at all !! Is there a way to edit the
XSF file of an XSN template without open it in InfoPath ?

Fortunately I have extract beforehand the form files (XSL,
XSF...) in a separate folder, but how can I do to recover
my XSN template from these separate files ?

Thank you very much for your answer, I will be very
disapointed if I cannot recover the template, it
represents several days of development :(

Olivier
ETSI Software Engineer
 
F

Franck Dauché

Hi Olivier,

You can right-click on your xsf file. Click "Design". From there, you can
"Save As" from the File menu, then Save (not Publish). You can create a new
(clean) xsn file, or overwrite your corrupted one.

Of course, make a backup of your entire working folder before you do this.

Good luck

Franck Dauché
IPCES, Inc.

www.ipces.net
 
A

Andrew Ma [MSFT]

XSN files are just simply cab files. If you re-name it to .cab, you should
be able to open it with most compression utilities and extract the files.

If you want to work from your old extracted files, just open the
manifest.xsf in designer and then publish it. Publishing it should create a
new XSN file.

--
Andrew J. Ma
Software Test Engineer
Microsoft Office InfoPath
http://blogs.msdn.com/ajma
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
 

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