Migrate admin approved infopath forms in SharePoint

In my recent project, I have to migrate admin approved InfoPath forms in SharePoint 2007 to SharePoint 2010 . Admin approved forms are deployed as features at farm level. They are under 12 hive folder named with GUIDs.

After some googling, I found handy STSADM and Powershell commands. Using these commands we can easily package and generate a CAB file that can exported and imported in other server farm.

Migrate admin approved InfoPath forms MOSS 2007 to SharePoint 2010:

STSADM command to export admin approved Infopath forms

stsadm -o exportipfsadminobjects -filename C:\Export.CAB

PowerShell command to import from CAB file

Import -SPInfoPathAdministrationFiles -path C:\Export.CAB

After importing the forms to SharePoint 2010, we need to update links such as data connections, submissions links etc.
Here are some useful Powershell commands which might save some time in updating links.

Powershell commands to update links:

Update-SPInfoPathAdminFileUrl

Update-SPInfoPathUrl

Update-SPInfoPathFormTemplate

This blog is written to document the information which i have gathered just as a quick reference for my next migration of admin approved Infopath forms in SharePoint. Here is an other helpful blog which contains all the detailed steps in upgrading Admin approved Infopath forms from SharePoint 2010 to 2013.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Disable feedback surveys in Power Platform

If you have worked in Microsoft 365 PowerApps or Power Automate, you might be familiar with feedback survey which pops up quite often. Microsoft wants your feedback on how likely are your to recommend Power Automate to a friend or colleague? Well, I ran into a conversation in twitter about this survey. Apparently I learnt […]

Read More

Error handling in Azure PowerShell Runbooks

Error handling in Azure PowerShell Runbooks should be handled carefully if not the runbook with continue to Completed state even if there is an Error in the script. Unlike exception, Runbook execution will continue after  an Error  by default. Windows PowerShell has multiple streams of output. Runbooks in Azure work differently in each of these […]

Read More

SharePoint Designer cannot display the item

You run into ‘SharePoint Designer cannot display the item’ error when you are trying to edit an existing workflow setup in Designer quite often when there is a windows update or update to .NET framework installed in your computer. In some cases it may also not allow you to create new workflows. Resolution: Clearing Designer […]

Read More