Sharepoint inforpath表格2007 [英] Sharepoint inforpath form 2007

查看:88
本文介绍了Sharepoint inforpath表格2007的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我可以知道如何限制其他用户访问用户打开的文档库中基于Web的特定InfoPath表单吗?
(假设InfoPath表单需要存储文档库中的某些值以在打开某些值之前进行检查)

场景:
用户A打开基于Web的InfoPath表单,然后输入一些值并提交.当用户A仍在编辑InfoPath表单时,用户B出现并在浏览器中打开链接,并希望编辑该表单.因此,是否有任何方法可以阻止用户B在浏览器中打开InfoPath表单,并通知他/她该表单已被其他用户打开? (如果该消息可以告诉用户B用户A当前正在打开该文档,那就太好了了).

Hi all,

May I know how to restrict other user from accessing a particular web-based InfoPath form in a document library which was open by a user?
(Suppose that the InfoPath form need to store some value from document library to check before some one opens)

Scenario:
User A open a web-based InfoPath form and enters some value and submit. While User A is still editing the InfoPath form, User B came along and opens the link in the browser and wanted to edit the form. So, is there any way to stop User B from opening the InfoPath form in the browser and inform him/her that the form is open by another user? (It would be nice if the message can tell User B that the document is currently open by User A)

推荐答案

记住SharePoint是一个Web应用程序.您如何在ASP.NET Web应用程序中判断用户是否正在查看页面?简单地说,你做不到.尽管您可以跟踪用户是否请求了特定资源,但是服务器没有办法知道用户是否仍在打开资源,去吃午饭或搬到另一个站点.

由于表单是呈现给客户端浏览器的,因此,是否进行了任何编辑以及是否已经在服务器上更新了表单都没有关系.除非用户重新整理页面/表单,否则他们不会看到或不知道任何更改.
Remember SharePoint is a web application. How would you tell in an ASP.NET web application if a user is viewing a page? Simple put you can''t. Although you could track if a user requested a particular resource there is no way for the server to know if the user still has it open, has gone to lunch or moved to another site.

Since the form is rendered to the client browser it doesn''t matter if any edits have been made and the form has been updated on the server. Unless the user refresshes the page/form they will not see, or know about, any changes.


这篇关于Sharepoint inforpath表格2007的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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