When trying to print a document from a view, am getting this error…
‘doc is private and will not be printed’
also…when the doc is open the print option on the file menu is greyed out…
ideas?
When trying to print a document from a view, am getting this error…
‘doc is private and will not be printed’
also…when the doc is open the print option on the file menu is greyed out…
ideas?
Subject: doc is private and will not be printed error
In the database ACL there is a new checkbox for “Replicate or copy documents”. We have found that if users didn’t have that checked they would get this message when they tried to print.
HTH
Hugh
Subject: AHA…that seems to be it
thank you…that helps!
Subject: Also try the following
On the PostSave event of the form you can add the following piece of code as well…
================================================
Sub Postsave(Source As Notesuidocument)
Dim wrkspc As New NotesUIWorkspace
Dim doc As notesdocument
Set doc = source.document
Call doc.ReplaceItemValue("$KeepPrivate","0")
Call doc.Save(True,False)
End Sub
================================================
This works
Jason Du Preez
Subject: No, it will not work …
… because the problem is NOT related to the $KeepPrivate field.
Subject: RE: No, it will not work …
so how do i get rid of this problem without allow the user in the ACL to replicate or copy documents ?
Subject: RE: No, it will not work …
Looking for responses to this issue as well.
Symptoms:
Have most users in an authors group with option to replicate or copy documents de-selected. This was put in place to prevent old replicas from restoring documents.
Put field called $KeepPrivate in document, forced to 0. No effect.
Created agent to remove field entirely from the db. No effect.
User still unable to even print the document.
Subject: RE: No, it will not work …
Ken, Samuel,
there’s no way around it (that I know of). It’s that simple. If users have to print docs from this app, you have to grant them the right to “copy or replicate” (which is in fact “draw information from that app”, including exporting or coying and pasting parts of the content) documents. Period.
This option really isn’t meant to be used in the way you described it. The only way to prevent “old” replicas from restoring already deleted docs is to specify an appropriate value for when docs should be deleted. Even if you don’t enable the properry to delete old docs, you can still change the number of days. The reason is, that deletion stubs will be kept for <number_of_days>/3 in that replika. So, with the default of 90 days, every document older than 30 days will not be restored from an old replica.
Subject: This fixes it
an agent with the following code
FIELD $KeepPrivate:=@DeleteField
Subject: doc is private and will not be printed error
If this is an email then the sender has checked the “Prevent Copying” in Delivery Options.
The document will contain a field $KeepPrivate = “1”.
If you have author access to the document you can delete the field using a simple agent and then print the document as normal.
(It is not much of security feature)
Subject: RE: doc is private and will not be printed error
Yea, it’s not an email…it’s a doc in an application. I upgraded a user to R6 and since she has experienced this problem…and she does have author access to the doc.
What else?
Subject: RE: doc is private and will not be printed error
The doc will still have a $KeepPrivate field.