Home > Lotus Notes Overview, Lotus Notes Tutorial, Notes Administrator > How to use Public/Private Views/Folders in Lotus Notes

How to use Public/Private Views/Folders in Lotus Notes

What’s the difference?

Well, public views and folders are used by everyone. For a public folder, if a document is placed into the folder then everyone sees the document in the folder (assuming they have reader access to the document).

Private views and folders are private to each user. Every user will have their own instance of the design element. “Desktop Private” views and folders are those where the design element is physically stored in the user’s desktop. If the user takes their ID file and goes to another machine, they won’t see the same private design element. This doesn’t make much of a difference with views where the selection formula will select the same documents, but it does make a difference with desktop private folders.

“Database Private” views and folders are stored as part of the database, and thus increases the size of the database. But the user can go from machine to machine and see the exact same design element.

How to determine these programmatically

When you get a handle to a Notes View object in LotusScript, there is a property called IsPrivate that will tell you if the view or folder is public or private. This is the easiest way to tell. However, keep in mind that LotusScript will not, under any circumstances, give you a handle to a “desktop private” view or folder. So there is no easy way to find these design elements programmatically. (If someone knows how to get “desktop private” views/folders with LotusScript, please post a response).

Viewed 10688 times by 3789 viewers

  1. No comments yet.
  1. No trackbacks yet.