Notes视图:如何仅在特定字段中显示用户名下的那些文档 [英] Notes View: How can I show only those documents which are under the user's name in a specific field
问题描述
我想向正在访问该视图的用户显示他或她下面的文档.
I want to show to the users who are accessing the view the documents which are under him or her.
例如:如果我有一个名为" Name "的字段.视图中有23个文档,在所有这些文档中,但是只有五个文档在名称"字段下有我的名字.我想在视图中显示我下面的所有文档,即五个文档.
For example: If I have a field named "Name". There are 23 documents in the view and of all those documents, but only five of them have my name under "Names" field. I want to show in the view all those documents under me which would be five documents.
能请你帮我吗?非常感谢.
Could you please help me? I appreciate it a lot.
推荐答案
创建具有嵌入式视图的页面.
按字段Name
分类视图.
将公式@UserName
或
放入嵌入式视图的属性显示单个类别"
@Name([CN]; @UserName)
,具体取决于字段Name
的格式.
显示页面而不是视图.
Create a Page with an embedded view.
Categorize view by field Name
.
Put into embedded view's property "Show single category" the formula @UserName
or
@Name([CN]; @UserName)
depending on how your field Name
is formatted.
Show the Page instead of the view.
这样,您可以避免使用共享的,首次使用时私有的"视图或类似方法带来的麻烦,并且用户只能看到他们自己的文档.
This way you avoid trouble with "Shared, private on first use" views or similar approaches and users see exactly their own documents only.
这篇关于Notes视图:如何仅在特定字段中显示用户名下的那些文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!