Please find the list of powershell scripts for the Infopath
Form.
- Installs an InfoPath 2013 form template on a farm: [http://technet.microsoft.com/en-us/library/ff608053(v=office.15).aspx]
Install-SPInfoPathFormTemplate
[-Path] <String> [-AssignmentCollection <SPAssignmentCollection>]
[-Confirm [<SwitchParameter>]] [-EnableGradualUpgrade
<SwitchParameter>] [-NoWait <SwitchParameter>] [-WhatIf
[<SwitchParameter>]]
---------------EXAMPLE--------------
è Install-SPInfoPathFormTemplate
-Path c:\Form.xsn
è "FormTemplateFirst.xsn",
"FormTemplateSecond.xsn", "FormTemplateThird.xsn" |
Install-SPInfoPathFormTemplate
This example installs multiple form templates on a
farm
2. Saves
InfoPath 2013 form templates on the SharePoint Central Administration Web site
and .udcx files to a .cab file. [http://technet.microsoft.com/en-us/library/ff608075(v=office.15).aspx]
Export-SPInfoPathAdministrationFiles
[-Path] <String> [-AssignmentCollection <SPAssignmentCollection>]
[-Confirm [<SwitchParameter>]] [-Identity <SPFormsServicePipeBind>]
[-WhatIf [<SwitchParameter>]]
---------------EXAMPLE--------------
è Export-SPInfoPathAdministrationFiles
-path d:\file.cab
This example saves all InfoPath 2013 form
templates (.xsn files) and universal data connections (.udcx files) located on
the SharePoint Central Administration Web site in a compressed cabinet file
named
file.cab
For more information on InfoPath
Services cmdlets in SharePoint Server 2013.
No comments:
Post a Comment