1. 激活可浏览的表单模板

Set-SPInfoPathFormsService -AllowUserFormBrowserEnabling $true
-AllowUserFormBrowserRendering $true

2. 设置数据连接超时

Set-SPInfoPathFormsService –DefaultDataConnectionTimeout 15
–MaxDataConnectionTimeout 25

3. 设置数据连接响应大小

Set-SPInfoPathFormsService –MaxDataConnectionResponseSize 3

4. 修改认证设置

Set-SPInfoPathFormsService –RequireSslForDataConnections $true –
AllowEmbeddedSqlForDataConnection $true –
AllowUdcAuthenticationForDataConnections $true –
AllowUserFormCrossDomainDataConnections $true

RequireSslForDataConnections:True为表单使用HTTP认证时需要SSL加密。

AllowEmbeddedSqlForDataConnection:当有包含用户名和密码的数据库连接信息的数据连接文件时,设置为True。

AllowUdcAuthenticationForDataConnections:是否允许自定义表单通过数据连接文件访问数据源。

AllowUserFormCrossDomainDataConnections:当表单需要访问与SharePoint不同的数据源时,设置为True。

5. 设置会话状态

Set-SPInfoPathFormsService –MaxPostbacksPerSession 110 –
ActiveSessionTimeout 720

6. 启用视图状态

Set-SPInfoPathFormsService –AllowViewState $true –ViewStateThreshold
40961

7. 验证并上传表单模板

Test-SPInfoPathFormTemplate
-Path "<<full path to InfoPath form template>>"
Install-SPInfoPathFormTemplate-Path "<<full path to InfoPath form template>>"

8. 一次上传多个表单模板

"<<path of form 1>>" , "<<path of form 2>" , "<<path of form 3>>" |
Install-SPInfoPathFormTemplate

9. 激活/反激活网站集的表单模板

Enable-SPInfoPathFormTemplate
-Identity "<<name of form template>>"
-Site "<<URL of Site Collection>>"
Disable-SPInfoPathFormTemplate
-Identity "<<name of form template>>"
-Site "<<URL of Site Collection>>"

10. 从InfoPath表单服务移除一个表单

Uninstall-SPInfoPathFormTemplate -Identity "<<name of form template>>"

11. 禁用InfoPath表单服务中的某一表单

Stop-SPInfoPathFormTemplate -Identity "<<name of form template>>"

12. 启用Web服务代理

Set-SPInfoPathWebServiceProxy -Identity "<<URL of web application>>"
-AllowWebServiceProxy $true
Set-SPInfoPathWebServiceProxy -Identity "<<URL of web application>>"
-AllowForUserForms $true

SharePoint Infopath表单服务-PowerShell的更多相关文章

  1. [using_microsoft_infopath_2010]Chapter12 管理监视InfoPath表单服务

    本章概要: 1.在SharePoint中心控制台管理InfoPath设置 2.分析监视浏览器表单开考虑潜在性能问题 3.最小化回发数据

  2. 快速创建InfoPath表单

    快速创建InfoPath表单 2010年已经过去了一半了,这时候再说初识InfoPath可能会被很多人笑话,但是又有多少人真正认识InfoPath呢?无论你是刚刚 听说这个东西还是它的老相好都请同我一 ...

  3. [Infopath]使用jquery给infopath表单的的field赋值。 how to set value to Infopath field by Jquery

    客户有个需求,需要在infopath表单中嵌入一段我们自己的东西,计算后要更新infopath某一个field. 1. 怎么去获取到那个field 由于infopath生产的html非常的复杂,嵌套太 ...

  4. SharePoint 2013 表单认证使用ASP.Net配置工具添加用户

    前 言 上面一篇博客,我们了解到如何为SharePoint 2013配置表单身份认证,但是添加用户是一个麻烦事儿:其实,我们还可以用Asp.Net的配置工具,为SharePoint 2013添加表单用 ...

  5. Infopath表单&Reproting Service在IE11下问题解决

    一.打开表单出现错误:“对象不支持“addEventListener”属性或方法”错误 解决方法: 1. IE11浏览器--->选项 2. 勾选"在兼容性视图中显示intranet站点 ...

  6. SharePoint 2013 表单认证使用ASP.Net配置工具加入用户

    前 言 上面一篇博客,我们了解到怎样为SharePoint 2013配置表单身份认证.可是加入用户是一个麻烦事儿:事实上,我们还能够用Asp.Net的配置工具,为SharePoint 2013加入表单 ...

  7. Office365 InfoPath 表单的设计和应用(原创)

    表单的应用:我想到的有2种. 1 做为自定义表单库的模版. 通过发放url(模版链接)给用户来填写表单. 最后将在表单库中得到所有填写的信息列表. 如 2 上传表单做为ContentType 也就是自 ...

  8. [using_microsoft_infopath_2010]Chapter8 使用InfoPath表单web部件

    本章概要: 1.配置web part 2.创建web part连接 3.创建表单参数 4.利用其它浏览器表单参数

  9. 如何在启用SharePoint浏览器功能的InfoPath 表单中添加托管代码以动态地加载并显示图片

    InfoPath 的浏览器表单不支持加载并显示图片,当然在模板中可以插入图片,但是如果想显示数据库的一幅图片,或是动态加载一张图片就无能为力了. 基实这个问题可以通过在浏览器表单中使用: " ...

随机推荐

  1. poj 2449 Remmarguts' Date 求第k短路 Astar算法

    =.=好菜 #include <iostream> #include <cstdio> #include <string.h> #include <cstri ...

  2. 51nod 1020 逆序排列 递推DP

    1020 逆序排列  基准时间限制:2 秒 空间限制:131072 KB 分值: 80 难度:5级算法题  收藏  关注 在一个排列中,如果一对数的前后位置与大小顺序相反,即前面的数大于后面的数,那么 ...

  3. UVa 11400 照明系统设计

    https://vjudge.net/problem/UVA-11400 题意: 有一个照明系统需要用到n种灯,每种灯的电压为V,电源费用K,每个灯泡费用为C,需要该灯的数量为L.注意到,电压相同的灯 ...

  4. Codeforces Round #223 (Div. 2) E. Sereja and Brackets 线段树区间合并

    题目链接:http://codeforces.com/contest/381/problem/E  E. Sereja and Brackets time limit per test 1 secon ...

  5. Codeforces Beta Round #16 div 2 C.Monitor最大公约数

    C. Monitor time limit per test 0.5 second memory limit per test 64 megabytes input standard input ou ...

  6. JMeter源码导入到Intellij IDEA

    环境: Windows10,jdk1.8,Intellij IDEA 2018.1.5 x64,apache-jmeter-4.0_src.zip  http://jmeter.apache.org/ ...

  7. 浏览器滚动条及其影响 calc()

    1.浏览器滚动条 默认风格各异,推荐一插件  mCustomScrollbar 不考虑兼容也可自定义样式    链接二 2.影响 以垂直方向为例,当内容变化的时候,如果设置的是overflow:aut ...

  8. (转)关于C# 中的Attribute 特性

    摘要:纠结地说,这应该算是一篇关于Attribute 的笔记,其中的一些思路和代码借鉴了他人的文笔(见本文底部链接).但是,由于此文对Attribute 的讲解实在是叫好(自夸一下 ^_^),所以公之 ...

  9. elementUI和iview兼容么

    听说iview的作者居然是91年的,我要赶快加油了. https://zhuanlan.zhihu.com/p/25739512

  10. unity中实现静态的3D对象对其他对象的跟随

    using UnityEngine; public class FollowPosition : MonoBehaviour { public Transform targetTrans; publi ...