Domino 9 und frühere Versionen > ND6: Entwicklung
Verzeichnis in Formel angeben (Anfängerfrage)
umi:
Hast Du das schon mal über die Replika ID versucht?
siehe:@Command( [FileOpenDBRepID] ; replicaID ; serverHint ; viewName ; key ; newInstance ; temporary )
ajo:
Gerade versucht und kläglich gescheitert ???
Nachdem ich einen Eintrag aus der Liste (dockey) ausgewählt habe kommt "Datenbank nicht gefunden" und danach "Angegebener Befehl kann nicht ausgeführt werden".
In der Zwischenablage hab ich dann meine Signatur hängen, die wohl anstelle des dockey kopiert wird...
So sieht die Formel im Moment aus:
database := "pasteinformation.nsf" ;
choicelist := @DbColumn("" : "ReCache" ; "" : database ; "($All)" ; 0 );
dockey := @Prompt([OkCancelList] ; "Add text..." ; "Please choose the document title containing the content you wish to paste at the current cursor position." ; "" ; choicelist) ;
@Command( [FileOpenDBRepID] ; "85255F1E:004F2CEB";"ServerName"; "($All)" ; dockey ; 1 ; 1 ) ; newinstance;
@PostedCommand([EditDocument]) ;
@PostedCommand([EditGotoField] ; "Body" ) ;
@PostedCommand([EditSelectAll]) ;
@PostedCommand([EditCopy]) ;
@PostedCommand([FileCloseWindow]) ;
@PostedCommand([FileCloseWindow]) ;
@PostedCommand([EditPaste])
umi:
Hi
--- Code: ---choicelist := @DbColumn("" : "ReCache" ; "" : database ; "($All)" ; 0 );
dockey := @Prompt([OkCancelList] ; "Add text..." ; "Please choose the document title containing the content you wish to paste at the current cursor position." ; "" ; choicelist) ;
@PostedCommand([FileOpenDatabase]; "ServerName" : database ; "($All)" ; dockey ; 1 ; 1 ) ;
--- Ende Code ---
Ist das korrekt, dass Du zuerst auf die Lokale Database zugreifst für die Choicelist und dann auf die DB vom Server für das FileOpenDatabase?
ajo:
ups, stimmt. Hab ich jetzt korrigiert, aber der Fehler tritt nach wie vor auf.....
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln