深入浅出InfoPath——获取SharePoint群组中用户(无代码)
2011-10-11 15:37
309 查看
一、增加第二数据源
使用GetUserCollectionFromGroup Web Service
二、修改数据源的定义文件
2.1 解压缩xsn文件
GetUserCollectionFromGroup, GetUserCollectionFromGroup1, GetUserCollectionFromGroup2. Open the GetUserCollectionFromGroup xsd and search for query fields. Replace that element with the following.
2.2、修改
2.3、修改
open the GetUserCollectionFromGroup1 and search for ‘GetUserCollectionFromGroup' and replace that element with the following.
2.4、打开main.xsn 另存为xsn文件
三、使用修改后的第二数据源
使用GetUserCollectionFromGroup Web Service
二、修改数据源的定义文件
2.1 解压缩xsn文件
GetUserCollectionFromGroup, GetUserCollectionFromGroup1, GetUserCollectionFromGroup2. Open the GetUserCollectionFromGroup xsd and search for query fields. Replace that element with the following.
2.2、修改
<xsd:element name="queryFields"> <xsd:complexType> <xsd:sequence> <xsd:element name="GetUserCollectionFromGroup"> <xsd:complexType> <xsd:sequence> <xsd:element minOccurs="0" maxOccurs="1" name="groupName" type="xsd:string"></xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element>
2.3、修改
open the GetUserCollectionFromGroup1 and search for ‘GetUserCollectionFromGroup' and replace that element with the following.
<s:element name="GetUserCollectionFromGroup"> <s:complexType> <s:sequence> <s:element name="Users" minOccurs="0" maxOccurs="1"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="unbounded" name="User"> <s:complexType> <s:attribute name="Notes" type="s:string"></s:attribute> <s:attribute name="Name" type="s:string"></s:attribute> <s:attribute name="IsSiteAdmin" type="s:string"></s:attribute> <s:attribute name="Sid" type="s:string"></s:attribute> <s:attribute name="ID" type="s:string"></s:attribute> <s:attribute name="LoginName" type="s:string"></s:attribute> <s:attribute name="Email" type="s:string"></s:attribute> <s:attribute name="IsDomainGroup" type="s:string"></s:attribute> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element>
2.4、打开main.xsn 另存为xsn文件
三、使用修改后的第二数据源
相关文章推荐
- 深入浅出InfoPath——获取SharePoint群组中用户(无代码)
- 深入浅出InfoPath——获取SharePoint群组中用户(无代码)
- 在SharePoint中无代码开发InfoPath应用: 获取当前用户信息
- 深入浅出SharePoint——利用jQuery访问SharePoint Web Service获取用户信息
- 深入浅出InfoPath2007—使用UserGroup Web Service来得到当前用户所在的群组信息
- sharepoint 在InfoPath中如何获取当前用户的信息(Profile)(转闪电)
- 用代码获取SharePoint站点中InfoPath表单的数据
- 用代码获取SharePoint站点中InfoPath表单的数据
- 用代码获取SharePoint站点中InfoPath表单的数据
- SharePoint【深入浅出InfoPath】-- 手工绑定托管代码
- infopath表单预览正常,发布后无法通过Web Service获取当前用户信息的解决方案
- 自动获取用户屏幕分辨率的JS代码
- 从AD中获取SharePoint用户的登录名和显示名的方法
- C# 脚本代码自动登录淘宝获取用户信息
- C# 脚本代码自动登录淘宝获取用户信息
- 微信开发(三)获取用户信息,同时整理代码
- SharePoint中自定义代码普通用户执行报Access Denied, 管理员执行就OK, 咋办?
- SharePoint 2010以其他用户身份登录的弹出代码
- Flink_获取wiki用户修改_代码实例
- PowerShell在SharePoint 2010自动化部署中的应用(1)--代码获取