Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Display single category view Problem

Posted on 2002-04-22
2
Medium Priority
?
253 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

610 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