Infopath Form Conflict Error

P

PKadam

Hello All.

I am using DB connected Infopath forms for my app.

The forms are saved at one location, but later in the program they are to be
copied to a temp folder where they are opened. when this form is opened at a
the temp folder, i am getting a Form Conflict error.

I have been able to change the PublishURL path of the Infopath form and have
been able to set it as the path of the new Temp Folder path for the form.

Is there a way that i can clear my local cache with the older URNs that were
created on my machine, so that everytime i open a copy of the Forms from my
temp folder, i do not get the "Form Conflict Error".

Thanks in advance.
pk adam.
 
B

Ben Walters

PK Adam
I'm not totally sure whats causing your conflict error but the first issue I
need to address is why you are changing your pubilsh URL? this url is a
pointer to the form template e.g. if you publish your form template to c:\my
templates\Mytemplate.xsn then change the publish url in xml file to
c:\temp\myTemplate.xsn and the template file does not existing then the form
wont open.

Ideally you would publish your form to a form library or a shared folder
this location would not change as this is the central store where everyone
accesses the tempalte from.

Based on the scenario you detailed your program would create a .xml file
that would be saved to one location. This xml file would then be moved to a
temp directory and opened from there each time the .xml is opened it would
access the same template.xsn file

hope this helps
Ben
 
P

PKadam

Hello Ben.

Thanks for your reply.

My app is such that the Forms (they are of .doc, .xls, .txt, .xft., etc) are
created on a folder and then they are imported into the App and are kept at a
central repository. When the user has to use one of the forms, then the app
would copy an instance of the form and the user would fill up this copy and
send it to the next stage.

Now the app has to handle the Infopath forms as well, and following this
logic (like the other forms), the forms when created once on the machine,
when opened from another location/ name are giving a form conflict error. I
have used the MS CABARC SDK and have been able to change the Publish URL Path
(and the DB path , in case of DB connected forms!).

I tried searching the registry to clear the exisitng URNs on the machine, so
that when a form is opened from a different location is opened, i do not get
a Form Conflict error.

Or maybe i can update the registry with the URN with a new entry of the
newly created (copied to the temp location) form.

Thanks in advance.
pkadam.
 
C

Chad

Hello Everyone,
I have come across a similar problem with form conflict. I do admit
that I am not a pro at InfoPath and I might be missing something. I
recieve a message asking me if I want to replace the form or keep the
one on my computer based on the fact that they have the same ID. I am
not trying to connect to anything. I just want my users to fill out
the form when I send it to them without having to decide which form
they should use. Is there a way to make the most recent form the
default or the only one that will be displayed. What can I do so that
the form conflict message does not appear.
Any ideas will be helpful.
Thanks in advance
 

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