Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Upgrading browser-enabled InfoPath forms in a SharePoint solution

Posted on 2010-09-10
4
587 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
ID: 33646137
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
ID: 33647155
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
ID: 33691284
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
ID: 33914216
Not quite a complete answer, but helpful.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

808 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