Is there a way to create a hidden document? (one that doesn’t show in All Documents)?
I am using the C++ API.
thx
dB.
Is there a way to create a hidden document? (one that doesn’t show in All Documents)?
I am using the C++ API.
thx
dB.
Subject: Hidden documents?
Depends on what reason you need it hidden. For example, you can give it a reader name field that nobody has access to, which will certainly hide it, but leave it fairly useless. Another option, and one which I would recommend, is to create a profile document, since those won’t show up in a view.
Subject: RE: Hidden documents?
You could (ideed for many applications, SHOULD) add a readers field called, e.g. AdminReaders, and give it a value of "[Admin]"Now it will be totally invisible to anyone or any server not in the [Admin] Role - but it will still be there
If you need to see or replicate it, just change your roles to include [Admin]
Chris
Subject: RE: Hidden documents?
But would this work for my scenario?
I have an application that wants to store private data in Notes (let’s imagine it’s statistics about the messages in Notes). The application runs as the user and hence changing AdminReaders would render that document unreadable by the user …
I just want it not to show up in All Documents …
Thx
dB.
Subject: RE: Hidden documents?
If all you want to do is exclude the document from a particular view, then write a selection formula for the view that would exclude the document. If you use SELECT @All, then the only way to exclude the document is to make it inaccessible to the user.
Subject: RE: Hidden documents?
I see. Maybe let me rephrase my question - is there anything that I can store a document in that the user doesn’t see?
In MAPI there’s the associated messages, an entire store that rules and other tools use to store private data.
Thx
dB.
Subject: RE: Hidden documents?
so you just like to have a ui-restriction?
why not just use a form that isn’t displayed in any view?
Markus Seitz
Subject: RE: Hidden documents?
That would work, unfortunately I don’t have admin control of the server, so I can’t create a form. Is there a built-in form like that?
Thx
dB.
Subject: RE: Hidden documents?
why not simply use form=“ThisFormDoesNotExistInDatabaseDesign”.
one thing is that if db’s got a default-form it would be opened with this, but since fields don’t match users can’t see anything.
there’s also a &KeepPrivate (or similar) flag to prevent doc from being copied / printed & you can’t see fields in properties.
one other way could be to use profile-docs, cause they aren’t display anywhere.
Markus Seitz
Subject: RE: Hidden documents?
I went down the profile documents path and it works great.
Thx much,
dB.
Subject: RE: Hidden documents?
Btw, going down this path you’ll find that there’s a (small) limit on the size of these profile values …