Link to home
Start Free TrialLog in
Avatar of tmarkus
tmarkus

asked on

Mysterious Appearance of $KeepPrivate Field

I am having the following problem with forms in one database. Any time someone with author only access to the database creates a document using one of the forms it always includes "$KeepPrivate" field, although the "Prevent copying...." option is not enabled on any of the forms. Does anyone have an idea why or how to avoid it? (LN 6.0) Thanks. Tom
ASKER CERTIFIED SOLUTION
Avatar of HemanthaKumar
HemanthaKumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tmarkus
tmarkus

ASKER

Thanks for the prompt replies. I have checked the full design synopsis and there is no reference to the string $KeepPrivate (except for the @DeleteField Button which I added to get rid of the field). I have been playing around with the database trying to find a pattern and I found the following:

1. If I, as the (ACL = Manager), create a document the field $KeepPrivte would not appear
2. If someone else (ACL = Author) creates a document and there is no Author field on the form the field appears set to "1".
3. If someone else (ACL = Author) creates a document and there IS Author field on the form "Computed Whe Composed" = @Username the $KepPrivate field would NOT appear either

It may be a rare problem as you woul normally include an Athor field computed when composed to hold the document author but still. BTW.

T.
I will take a wild guess here :-)

How about if there is some agent script from other database updating or inserting this field depending upon certain criteria that you described above ??

If that is not happening then I am 100% confident this is being done in some event.. Examine Translation, validation, recalc and save/close events
Avatar of tmarkus

ASKER

Unless the synopsis skips some piece of code there is indeed no reference to the $KeepPrivate. Could a reason be that one of our developers uses LN6.5? T.
Maybe !! You should consider upgrading clients to 6.5 as the code is different from 6.0.

Avatar of tmarkus

ASKER

Well, we have tried it o the 6.5 client with the same result. Since the adding of the computed when composed Authors field solves the problem and is not contradicting the design concept I shall not be too much of a bluenose and leave it at that. Thank you all for the help. (In case I find an answer I'll post it here). Tom
Avatar of tmarkus

ASKER

Hi, I know it has been a long time but just in case you are still interested:
On the Access Control screen there is a setting called "Replicate or Copy Documents". In case you leave it unchecked it produces the behaviour I have encountered.
Tom