Domino 9 und frühere Versionen > ND6: Entwicklung

Problem mit Database Open unter Linux

<< < (2/3) > >>

umi:
Die DB muss einfach irgendwo auf deinem Server sein! Egal in welchem Verzeichnis !
Nur weil du die Replika ID verwendest musst du die DB nicht replizieren....
Jede DB hat so eine, egal ob Sie mit  Hinz und Kunz repliziert oder nicht.....

RTFM !!!

z.B. mit @dbcolumn("":"NoCache";"[Replika ID]";"view";1);
Wobei [Replika ID] die Replika ID deiner DB ist (inkl. dem Doppelpunkt ":" in der Mitte)

bo1:
Irgenwie funktioniert das bei mir nicht. Habe das so ausprobiert

cmd = "@DbColumn("""":""NoCache""; ""ds-01"":""[C12571A2:0046C919]""; ""(Lookup Nr)""; 1
col = Evaluate(cmd)

aber im col habe kein Rückgabe Wert, auch keine Fehlermeldung. ID ist OK.
Ohne eckige Klammern geht auch nicht.

umi:
Auszug aus der Hilfe

--- Zitat ---Specifying the server and database

There are several ways to specify the server : database parameter:

To perform the lookup on the current database (the same database in which the formula is being evaluated), specify "" as the entire argument to the function. "" means the local Domino directory where you are executing.

To perform a lookup on a local database, use "" for the server name and specify the database name explicitly, such as "":"DATABASE.NSF."

To perform a lookup (from the workstation) on a Domino database that resides on a server, include the server plus the path and file name as a text list, as in "SERVER":"DATABASE.NSF."
If there are multiple copies of the database located on various Domino servers, using the database replica ID in place of both the server and database name allows you to access a replica copy of that database without having to specify either the server name or the database name. For example, if you use "85255CEB:0032AC04" (a database replica ID, found in the database InfoBox) as the database name, Lotus Domino uses a replica of the database to retrieve the information.

--- Ende Zitat ---

bo1:
Es geht mit ID wenn ich auf die DB im notesdata zugreife. Wenn ich
auf die im Unterverzeichniss probiere, kommt Meldung: "Operation failed".
Habe schon Default Zugriffsrechte auf Manager gesetzt.

umi:
Sind die Berechtigungen auf dem Unterverzeichnis / File korrekt gesetzt (chmod?) dass der DominoAccount diese auch lesen/bearbeiten kann?

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln