SharePoint向InfoPath 2007表单传递参数
来源:互联网 发布:暗黑启示录3破解版java 编辑:程序博客网 时间:2024/06/13 23:56
在调用模板的地方,在链接上增加相应参数。
添加自定义代码到表单模板的Loading事件,通过InputParameters属性返回Idictionary,并利用其TryGetValue方法获取参数值。当确实得到参数值后,我们可以使用XpathNavigator对象的SetValue方法更新表单数据源中的某个结点值
public void FormEvents_Loading(object sender, LoadingEventArgs e) { string customerId = string.Empty; try { e.InputParameters.TryGetValue("ID", out customerId); } catch (Exception ex) { customerId = ex.Message.ToString(); } finally { MainDataSource.CreateNavigator().SelectSingleNode ("/my:myFields/my:ID", NamespaceManager).SetValue(customerId); }}
http://soft.zdnet.com.cn/software_zone/2007/0807/446609.shtml
- SharePoint向InfoPath 2007表单传递参数
- SharePoint Infopath表单服务-PowerShell
- Infopath 2013向Sharepoint 2013发布表单时提示"下列URL无效"的解决办法
- SharePoint 2013 配置InfoPath 列表表单
- SharePoint 2013 配置InfoPath 列表表单
- [SharePoint 2007]如何解决上传InfoPath表单时一直处于正在安装状态的问题
- [SharePoint WorkFlow InfoPath]在InfoPath表单内提交表单并启动工作流
- 发布infopath模板到sharepoint站点(Infopath 2007)
- 一个简单的SharePoint表单库 + InfoPath应用
- 用代码获取SharePoint站点中InfoPath表单的数据
- 结合Sharepoint 2010 和Designer 及Infopath 实现快速招聘系统搭建!-InfoPath 定制表单!
- InfoPath与SharePoint之(五)发布InfoPath表单到Content Type
- InfoPath与SharePoint之(六)在表单库里引用InfoPath Form Content Type
- SPWorkflow 系列:工作流表单 Infopath 2010 与SPWF 数据传递
- SharePoint 2010 - 无法发布InfoPath表单到SharePoint Library或Site Content Type的解决方案
- 向sqlplus传递参数
- 向脚本传递参数
- 向脚本传递参数
- iphone实现xml的post传递,并且接收数据
- [linux程序设计笔记]第7章:数据管理(省略了后面的数据库那个)
- 对Canvas和Matrix的理解
- CEdit 用做滚屏显示
- objective-c property
- SharePoint向InfoPath 2007表单传递参数
- RHEL4-VNC服务配置
- 你不可不知的9种Lisp语言思想
- flex关于跨域访问会引起安全沙箱问题,下面是在网上找到的解决安全沙箱问题的方法
- 上传文件函数带生成缩略图(不完整版)
- iphone利用xml传递数据,展示载Table界面中
- 根据字符长度来获取字节数
- Android的计量单位px,in,mm,pt,dp,dip,sp
- 字符集与字符编码(二)