深入浅出InfoPath——获取SharePoint群组中用户(无代码)
来源:互联网 发布:淘宝助理 dat格式 编辑:程序博客网 时间:2024/06/11 07:19
一、增加第二数据源
使用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群组中用户(无代码)
- 深入浅出InfoPath——动态获取InfoPath中的命名空间
- 深入浅出SharePoint—部署使用InfoPath定制过的List
- 深入浅出InfoPath——InfoPath利器汇总
- 使用InfoPath和SharePoint Designer进行无代码工作流开发
- SharePoint Designer + InfoPath 无代码工作流设计实例
- 用代码获取SharePoint站点中InfoPath表单的数据
- 深入浅出SharePoint—目录
- 深入浅出SharePoint——获取Choice Field的Mapping value
- InfoPath与SharePoint之(一) InfoPath和SharePoint List
- 深入浅出SharePoint——SharePoint补丁纪实
- 深入浅出SharePoint—部署篇
- 深入浅出SharePoint—创建ContentType
- 发布infopath模板到sharepoint站点(Infopath 2007)
- SharePoint无代码工作流设计开发实例——交通费报销流程(一)
- SharePoint无代码工作流设计开发实例——交通费报销流程(二)
- SharePoint无代码工作流设计开发实例——交通费报销流程(三)
- 遍历 XML 结构
- C++类的继承性和多态性
- SpringSide的Hibernate封装
- Pop Count Problem (二进制数中1的个数)
- eclipse.ini配置文件
- 深入浅出InfoPath——获取SharePoint群组中用户(无代码)
- 在cPanel空间安装SSL证书
- ORACLE PL/SQL实例精解笔记
- 软件测试生存法则:以人为本的策略
- HttpURLConnection用法详解
- 懒人活用JQuery.Autocomplete实现Select触发事件和结果定制
- 抽象类和接口的区分
- ORA-01591: lock held by in-doubt distributed transaction 以及分布式事务处理总结
- 怎么让一个UIImageView响应点击事件呢