Solved

Display single category view Problem

Posted on 2002-04-22
2
248 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 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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
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.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

732 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