Solved

Display single category view Problem

Posted on 2002-04-22
2
243 Views
Last Modified: 2013-12-18
Hi,
i have a userrole that can see all the documents of all the categories in a view. The person who has not the role can see only his category. That is what i try to do so what i put in the Display only one category event of the integrated view is :
@if(@isnotmember([Role];@userroles);Category;"")

What happens is, if the person has not the role, he can see his documents-->that's normal but if he has the role he can see nothing. In the Display only one category event of the integrated view i put just "" and nobody can see anything.

Is this normal? I thaught that "" was the same that empty.

Thanks for your help,
Koray.
0
Comment
Question by:koray_uygun
  • 2
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 50 total points
ID: 6959801
I believe it is a typo, the formula has missing quotes around role, so it should be like this,
@if(@isnotmember("[Role]";@userroles);Category;"")

I assume that the integrated view is an embedded view !!!

The embeddedview that you have can have only one category value, no multi-values are allowed for show single category.

Use "*" to show all categories and use any specific field to display a specific category listing in the view.

eg:
Let us assume that the first category column contains username then my formula becomes
@if(@isnotmember("[Role]";@userroles);"*";@Name([CN];@UserName) )

~Hemanth






0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 6959852
So what was the problem, Koray ?
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question