I have a database where documents can have the field DOODOO = "Yes" or "No"..
If DOODOO = "Yes", I don't want them to be replicated. Users can see them on the server but I do not want the documents to replicate down to their local copy.
I tried to use a replication formula. But I had no luck. If the user puts the replication formula in themselves, it worked. But I wanted to push the replication formula out to users and I can't seem to get that work. I may be doing something wrong..most likely..
I then found the following in the Help documentation:
The Notes-generated field $KeepPrivate captures whether the current user has replicate or copy privileges for the document. This setting applies only to Notes clients.
The document in the help database that has the above information is titled Access level privileges in the ACL
So, I was all excited, thinking all I have to do is set $KeepPrivate to equal "1" and it won't replicate. Bearing in mind that the user wouldn't be able to print or copy those documents either.
But that didn't work. Documents with DOODOO = "Yes" replicated down to my local copy when I replicated.
So... since the note was on a document titled Access level privilges in the ACL... I decided to test something.
In the acl, if you uncheck the option to Replicate or Copy documents for a particular user, it prevents the user from not only replicating the database, but also prevents them from Copying or printing any documents in that entire database. Kind of like if $KeepPrivate were set on each document to equal "1".
However, on documents in a database where users have had the option of Replication or Copying documents unchecked, a $KeepPrivate field can be set to equal "0" on individual documents. Then users can print, or copy the document in the database, but still be prevented from replicating any document in the database.
Not that it helps me with my problem, but still interesting information.
I may have to have a separate database to house all the DOODOO = "Yes" field documents. And then prevent users from replicating the database at all.. Since there will only be documents in that database that have DOODOO = "Yes". But then, in order to allow the users to print the documents in the database, I will have to set the $KeepPrivate field to = 0..
The times, they are a-changin....
17 hours ago

0 comments:
Post a Comment