How disable caching views for web users?

Hi!There is view for web users with sel. formula:

SELECT Form=“Contracts”&@isMember(@UserName;$UpdatedBy)

This view shows all users Contracts documents.

First time server is generating HTML and to all users shows same documents.

How disable caching this view for web users?

I know there is $CacheValid & $CacheOptions fields for controlling caching. But i could not found way to put this fields to view.

regards,

Farrukh

Subject: How disable caching views for web users???

Yes … well … this won’t work.

The view will be indexed with the username of the first person who indexes the view (probably that will be you.)

What you can do, is create an categorized view by username (sort your contracts by username) and then embed this view in a page/form.

Use the Show only selected category. Add the @username (or @name([cn];@username), whatever you use in the view), to only show the contracts for that user.

cheers,

tom

Subject: How disable caching views for web users???

Hi,

you can not use @Username in the selection formula of a shared view.

This is because there is only one index for such a view.

If you really want to use it then this view has to be of the type “Private shared on first use”.

This way there will be a separate index for each user. ()

A much better solution (especially for the web) is to create one view and categorise its

documents according to the usernames. Now you can use the embedded-view functionality

“Show single category” to show only a small part of the view.

You can achieve the same effect with the optional domino URL command “RestrictToCategory=category”.

Please give it a try before creating private views.

Bye

Hynek

Subject: RE: How disable caching views for web users???

Thank you for all,

It is working

regards,

Farrukh