Configuring a view based upon who is logged in, Web access

Hi!

I am trying to customise a view based upon who has logged in via the web browser such that only the documents relevent to them appear when they log in. I have tried using a page with an embedded view with the user name as the category but this doensn’t seem to work consistently.

Can anyone point me in the right direction? I am sure there’s some stuff out there on the web.

Many thanks!

Adam :slight_smile:

Subject: Configuring a view based upon who is logged in, Web access.

Hi Adam,

You can try the other way around.

Try putting a ‘readers’ field in your document. This way your user will only see document if thier name appear in the readers field.

cheers :slight_smile:

Resty

Subject: Configuring a view based upon who is logged in, Web access.

How the single category option works depends on what’s being called. If you’re calling the view (the page is just a $$ViewTemplate), then adjusting the URL to include RestrictToCategory= is the reliable way to do it. Use the “show single category” option if you are calling the form/page. Oh, and make it a form rather than a page if you can – pages get cached, and things don’t always recalculate as you’d expect. Use pages for stuff that doesn’t change very often.

Subject: RE: Configuring a view based upon who is logged in, Web access.

make it a form rather than a page if you can

ahh! I think you have hit the nail on the head. It worked sometimes then no others and I think might be the problem.

Jeez… you guys don’t hang around! :slight_smile:

Many thanks to you all.

Adam.