?
Solved

Display single category view Problem

Posted on 2002-04-22
2
Medium Priority
?
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month12 days, 20 hours left to enroll

777 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