Domino 9 und frühere Versionen > Entwicklung

Profildokument im Backend erstellen

(1/2) > >>

manuel:
Hallo !

Hat jemand eine Ahnung wie ich ein Profildokument im Backend einer Datenbank erstelle, wenn möglich mit Script. Die Möglichkeit die ich kenne wäre
NotesUIWorkspace.EditProfile( profileName$ [ , userName$] )

Hierbei läuft aber alles im Frontend ab. Ich möchte aber, dass das ganze im Hintergrund, also ohne User's zutun läuft.

Kennt wer eine Lösung?

Schönen Abend
Manuel

Till_21:
Set notesDocument = notesDatabase.GetProfileDocument( profilename$ [ , username$] )

Retrieves or creates a profile document.

check the sample in the designers help

gruss / till

ata:
Hallo Manuel,

wie wärs denn mit:

Set notesDocument = notesDatabase.GetProfileDocument( profilename$ [ , username$] )

Wenn das Dokument noch nicht existiert wird es erstellt...

ata

Till_21:
zwei dumme, ein gedanke  :)
der eine dumme war aber 22 sek schneller :)

till

manuel:
Wer hier der dumme ist, das bin ich !!!!!!  ;D

Diese Methode hatte ich schon die ganze Zeit in Verwendung, nur wurde kein Dokument erstellt. Was fehlte war ein doc.Save, um das Profildokument dann auch zu speichern !!!!

 :-[
Ups
 ;D


Danke ata und Till

Manuel

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln