TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Post an article
Translate this page
Powered by
Microsoft® Translator
Wikis - Page Details
First published by
Suresh C
When:
25 Jun 2013 9:27 PM
Last revision by
Gokan Ozcifci
(eMicrosoft Partne)
When:
12 Aug 2013 2:23 AM
Revisions:
6
Comments:
1
Options
Subscribe to Article (RSS)
Share this
Can You Improve This Article?
Positively!
Click Sign In to add the tip, solution, correction or comment that will help other users.
Report inappropriate content using
these instructions
.
Wiki
>
TechNet Articles
>
SharePoint 2010: How to Maintain InfoPath Form Changes
SharePoint 2010: How to Maintain InfoPath Form Changes
Article
History
SharePoint 2010: How to Maintain InfoPath Form Changes
When InfoPath forms undergo changes, certain requirement mandates that the existing "filled-up" forms (which resides in a form library) should not get affected. How do we achieve this? This article discuss on option(s) available.
Let us look at the question with a use case scenario
1. Version used: SharePoint 2010 and InfoPath 2010.
2. Design an InfoPath form (browser based) and publish it as Farm administrator approved template.
3. Activate this form in a site collection.
4. Add the above form as content type in a document library.
5. Now, it is available for user to fill up the form and save.
----At this point, user has saved the form----
6. There is a change request for InfoPath form, so go ahead and change the design.
7. Publish again as before.
8. Notice that, user filled form (step 5) is reflecting the changes.
This behavior could pose a problem when user filled forms get into approval channel and are used in an Audit. Any changes to the form which is already approved is sometimes not acceptable to the users.
One solution found to overcome this problem
1. Open the form in InfoPath Designer.
2. Place a text box control on the default view of the form.
3. Call this text box as txtVersion, set the default value to 1, and make it hidden by applying a formatting rule, Next time when there is a change requirement,
4. Open the form in InfoPath Designer.
5. Create a replica of the default view into another view (call it V2).
6. Go to default view, set value of txtVersion to 2.
7. Create a rule in form load such that if txtVersion = 2, switch to view V2.
8. Publish the form.
Now, all the existing forms keep showing old version and the new forms show modified version.
Note:
Yes, this might not be the efficient way of implementing it, but considering other options are not working, this solution would suffice the need. However, this solution becomes more complicated if the InfoPath form itself requires multiple views for users. Also, if the changes are frequent, the above method unnecessarily increase the content of the form. So, this approach should be considered after weighing the requirement and needs and taking into consideration other factors.
If there is an alternate approach to address this problem, do add it in this Wiki article.
en-US
,
InfoPath
,
Infopath 2010
,
SharePoint
,
SharePoint 2010
,
TechNet Guru
[Edit tags]
Leave a Comment
Please add 1 and 3 and type the answer here:
Post
Wiki - Revision Comment List(Revision Comment)
Sort by:
Published Date
|
Most Recent
|
Most Useful
Comments
Ed Price - MSFT
6 Jul 2013 12:37 PM
Ed Price - MSFT edited Revision 3. Comment: Title casing, tags
Edit
Page 1 of 1 (1 items)
Wikis - Comment List
Sort by:
Published Date
|
Most Recent
|
Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
Posted by
Ed Price - MSFT
on
6 Jul 2013 12:37 PM
Ed Price - MSFT edited Revision 3. Comment: Title casing, tags
Edit
Page 1 of 1 (1 items)