从SharePoint传递查询字符串参数的Java Applet的WebPart [英] Pass Querystring parameter from SharePoint to Java Applet webpart
问题描述
我有一个的SharePoint的WebPart页面,在该页面查询字符串参数(以URL),我也有一个网页查看器web部件(其中有效IFRAME的指定网页),这显示了Java小程序。
有什么办法,我可以得到中的SharePoint查询字符串参数由Java小程序可以收到?
原因在一个web部件操作的Java小应用程序是允许文件被拖放到Java小程序和参数示出了文件将被保存在SharePoint文档中心
我会很感激的任何和所有的建议。
干杯
尼克
注:
- 在SharePoint页面查询字符串不能由Java小程序直接读取,因在墙周围设置网页查看器web部件。
- 我试过当SharePoint页面加载,然后读取时的Java小程序加载的cookie(根据recieving的创建一个cookie文件,所以它不是一个时间的事情),但它无法访问该cookie(不同的域?)
找到了一个链接到这个博客其中包括如何将参数传递到一个内容编辑web部件,然后解决了问题。
I have a SharePoint webpart page, with a parameter in the page Querystring (in the URL), and I also have a Page Viewer webpart (which effectively IFRAME's the specified webpage), which shows a Java applet.
Is there any way I can get the parameter in the SharePoint Querystring to be recieved by the Java Applet ?
The reason for doing a Java applet in a webpart is to allow a file to be dragged and dropped onto the Java applet, and the parameter shows where the file would be saved in the SharePoint Document Centre.
I'd appreciate any and all suggestions.
Cheers
Nick
Notes:
- The Querystring in the sharepoint page cannot be read by the Java Applet directly, due to the 'walls' setup around the Page Viewer webpart.
- I've tried creating a cookie when the SharePoint page is loaded, then reading the cookie when the Java applet is loaded (upon recieving the file, so it's not a timing thing), but it can't access the cookie (different domains ?)
Found a link to this blog which covers how to pass parameters to a content editor webpart, which then resolved the issue.
这篇关于从SharePoint传递查询字符串参数的Java Applet的WebPart的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!