Friday, September 7, 2012
How do I save my InfoPath work for redeployment?
After you deploy to a VM from Visual Studio, you will have an instance of a SharePoint SPSite and you may then start messing with the forms in InfoPath, but aren't you then building a delicate little snowflake trapped at the VM at hand? How may you move your work to other VMs? Don't worry about maintaining your .xsn InfoPath files. Under site settings there is an option for saving as a template that will make one big .wsp file that may then be used to template a new SPSite. The template will include all of your lists and forms. Typically when creating a new web you will pick a template and Team Project is a common template to pick. If you make a new template it will show up as an option in the same place as Team Project. A template, in version 2010, is just a .wsp file. One may reimport templates into Visual Studio to get the code equivalent of the InfoPath magic back in one's Visual Studio solution. From there, the code may be redeployed elsewhere.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment