Solved

Upgrading browser-enabled InfoPath forms in a SharePoint solution

Posted on 2010-09-10
4
582 Views
Last Modified: 2012-05-10
Hi, I have a live SharePoint 2007 solution that involves a couple of InfoPath forms.  I have added functionality to the forms, and need to deploy the new versions alongside the old ones so that instances of the old forms can still be opened.  I seem to have a conflict between the versions in that I currently have to deactivate the old form solution in the site collection before I can activate the new form.

What element values in the manifest.xsf and other files within the xsn need to be modified in order for the two versions to happily coexist and work independently of each other?

Any "best practice" resources on this would be helpful.

Many thanks!
0
Comment
Question by:Hairbrush
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
Comment Utility
Best Practice when updating forms is not to delete fields from your schema in the form so you do not break comaptibility with the existing forms. Otherwise best practice would be to create a new seperate form library and seperate the two.  Typically you can give the users two URL's or something so that they can move between the new form and the old versions.

You should be able to publish it as a site content type that would allow you to have both appear on the same library in the drop down.
0
 
LVL 12

Author Comment

by:Hairbrush
Comment Utility
Thanks, Clayfox.

The new version of the form contains additional fields, but none of the original fields have been deleted.  If I keep to one content type then as far as I am aware I am tied to one associated InfoPath form, which would not give the users the ability to choose one of the two forms in the drop down.   Correct?  In which case I need two content types.  The content type is generated when I publish my form - so I need two separate forms?

These are browser based forms with codebehind requiring full trust, so I am not sure that having two separate form libraries would work?  When I upload a form via Central Admin I don't get a choice as to which form library it goes into - there's only one per site collection?

Please let me know if there's a shortfall in my understanding or logic here.

Many thanks for your help.
0
 
LVL 28

Expert Comment

by:clayfox
Comment Utility
I have found in these situations,  where SharePoint does not update correctly.

To start from scratch and publish them with new names and delete out the old ones, since the replacement process often does not work completely.
0
 
LVL 12

Author Closing Comment

by:Hairbrush
Comment Utility
Not quite a complete answer, but helpful.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now