Applying template changes

J

jfrench

I made some changes to a form template. How do I apply those changes to
forms that are already filled out?
 
S

Scott L. Heim [MSFT]

Hi,

Whenever a pre-existing form is opened it looks back to its template file
(XSN) and does a version compare to see if the template is a higher version
that what is stored in its XML. By default, if the template version is
higher it will automatically update the form to include the updates.

So in short, as your pre-existing forms are opened the updates to the XSN
file will be automatically applied!

** NOTE: The last comment above assumes you have not modified the
"OnVersionUpgrade" option of the XSN file.

I hope this helps!

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 
J

Janie

Unfortunately, that is not the case. What I did was add some items to two
separate drop-down lists. The drop-downs on the existing forms did not
change when I added the new categories, which makes sense. But now when I go
in to edit the existing forms the new categories don't show up.
 
S

Scott L. Heim [MSFT]

Hi,

Hmm...that's odd because the existing forms should indeed pickup the
changes. Now - I also want to be clear on terminology so we are both on the
same page! :)

I am assuming you made data changes to a drop-down list on you "XSN" - this
would be the template. If you had previously double-clicked that XSN and
saved the resulting file, that would typically be called a "Form" and would
have an XML extension.

So what I am saying is that if you updated data options in a drop-down list
on your XSN file, those changes should absolutely be reflected in any
previously saved "forms" (XML files.)

If this is not what you are seeing, let's make sure the XML (forms) files
are "pointing" the XSN you are modifying:

- Open one of your XML files with Notepad
- Near the top you will see an "HREF" entry - this will have a path to the
XSN file it is associated with...make sure this is pointing to the same XSN
where you are making changes.

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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