Solved

Display single category view Problem

Posted on 2002-04-22
2
241 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise 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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now