通过URL打开InfoPath表单视图 [英] opening InfoPath form view through URL

查看:74
本文介绍了通过URL打开InfoPath表单视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





当前打开 infopath files 保存 通过webpart在共享点库中。 用户可以在文件名称 >文本框单击按钮 文件打开。 URL  ,如:http://servername/_layouts/FormServer.aspx?XmlLocation = / InstrumentsLib /   + fileName +& Source = http:// b1544:8080 / InstrumentsLib / Forms / AllItems.aspx& DefaultItemOpen = 1  ; 

现在Web部件工作正常,但我希望infopath文件在特定视图中打开,即infopath模板有2个视图。我希望​​文件在第二个视图中打开。我怎么能这样做?表格是基于web的

解决方案

找到方法:



http://servername/_layouts/FormServer.aspx?XmlLocation = / InstrumentsLib /+ fileName +& Source = HTTP:// b1544:8080 / InstrumentsLib /表格/ AllItems.aspx &安培;默认视图=视图名&安培; DefaultItemOpen = 1\" ;

Hi,

I

currently open infopath files save in a sharepoint library through a webpart. The user can enter the the file name in a textbox and click a button and the file will open. The URL is like: http://servername/_layouts/FormServer.aspx?XmlLocation=/InstrumentsLib/" + fileName + "&Source=http://b1544:8080/InstrumentsLib/Forms/AllItems.aspx&DefaultItemOpen=1";

Right now the web part works fine, but i want the infopath file to open in a specific view, the infopath template has 2 views. I want the file to open in the 2nd view. how can i do this?? the form is web basied

解决方案

Found a way:

http://servername/_layouts/FormServer.aspx?XmlLocation=/InstrumentsLib/" + fileName + "&Source=http://b1544:8080/InstrumentsLib/Forms/AllItems.aspx&DefaultView=viewname&DefaultItemOpen=1";


这篇关于通过URL打开InfoPath表单视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆