Hello,
Because the various replicas of our applications may not be on the same directory, we have to get databases by replica IDs (via tables)
I’m now working with XPages…
So, I have to retrieve the path or the url of the database via replica ID.
I tried something but it doesn’t work (javascript):
var db = new NotesDatabase;
db.openByReplicaID (“”, “my replicaid”);
db.getNotesURL();
etc.
=> new NotesDatabase seems to be forbidden
var db = database;
db.openByReplicaID (“”, “my replicaid”);
db.getNotesURL();
etc.
=> Error on openByReplicaID
I tried to use server!!__replicaid.nsf but it doesn’t work…
Any idea
Thanks in advance
Pierre Frappé