Webview based on username?

Hi,

I want to have a view that does its selection based on the user name.

I know I’m supposed to do this with a “Private, shared on first use” view (or something like that anyway), but this doesn’t seem to work when opening the view on the browser.

Any ideas on how to get my web view to show only the documents for the current user? Thanks.

Subject: Webview based on username?

I think what you’re looking for is a Single Category view.

Create your view with the first column = appropriate user name field, categorized.

Then embed it and use the Single Category option.

Make sure the names match (maybe run @Name([Abbreviate]…) in the view column and in the Category selection formula.

I think this can also be done with an HTML tag, but I don’t know the exact syntax. Something like ViewCategory=“blah blah blah” and that can be computed as well. You’ll have to search this forum for the exact syntax, but I think I’m pretty close

hth

Dana

Subject: Webview based on username?

Make a view categorized on the user name (Common name), and use a url with a url parameter …

&RestrictToCategory=UserName

… similar to this one, showing all your postings in this forum:

http://www.lotus.com/ldd/nd6forum.nsf/ShowMyTopicsAllFlatweb?OpenView&RestrictToCategory=Sven+Magnus

Subject: Webview based on username?

You can categorize by username and then display a single category based on current username.

Or, don’t use a view. Instead, use LotusScript to construct on the fly an HTML table that represents the information you want in a view-like format.