Das Notes Forum
Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: AlexS78 am 29.08.06 - 13:32:31
-
Hi,
ich möchte das User Dokumente anonym erstellen können. Dazu ist es notwendig die Dokument Infos zu löschen oder zu ändern.
Dies betrifft folgende Werte.
Erstellt
Geändert
Hinzugefügt
usw.
&UpdatedBy
Ist dies möglich?
Vielen Dank
Alex
-
$UpdatedBy ist ein normales Feld im Dokument, dies kann per Script überschrieben werden.
Bei Erstellt, Geändert und Hinzugefügt handelt es sich um Eigenschaften des Dokumentes, dies wird so ohne weiteres nicht gehen.
-
Wie wär folgender Ansatz:
Nach der Dateneingabe startet die Form im "Save" Event einen Agenten mit z.B. Serversignatur. Dieser Agent liest das Formular oder das Temp-Dokument aus und füllt ein neues "anonymes" Dokument.
alternativ: Eingabe nur über Browser...
Gruß
Karsten
-
Habe dies noch nie gebraucht, kann also nicht sagen, welche 'Nebenwirkungen' damit verbunden sind, aber es gibt doch die From Property "Anonymous Form"...
Aus der Hilfe:
If a form is assigned the "Anonymous form" property, its documents do not contain an $UpdatedBy field; instead, the documents contain an $Anonymous field with a value of "1."
und
If you want a document's author or editors to remain anonymous, define a form that doesn't record the names of people who create or edit it. For complete anonymity, be sure that the author name does not appear elsewhere on the document -- for example, in a visible computed field.
On the Form Info tab, select "Anonymous Form."