Is it possible to select a server name for an xe:namePicker control? I would like to select an Address Book from a different server (not the one my application resides on).
Asked
Active
Viewed 991 times
2 Answers
4
You can set a different server with
addressBookDb="ServerName!!names.nsf"
before the database name devided by "!!"
<xe:namePicker id="namePicker1">
<xe:this.dataProvider>
<xe:dominoNABNamePicker addressBookDb="ServerName!!names.nsf">
</xe:dominoNABNamePicker>
</xe:this.dataProvider>
</xe:namePicker>

Knut Herrmann
- 30,880
- 4
- 31
- 67
-
Thanks a lot, that's exactly what I was looking for! I was in the process of implementing Naveen's solution above but this is much easier and quicker :-) – Oct 03 '13 at 14:17
-
Oh my! [This isn't the first time `!!` has bitten me](http://naveegator.blogspot.in/2012/01/double-exclamation-bang-in-lotus-notes.html) :) – Naveen Oct 03 '13 at 14:26
2
You can use xe:beanNamePicker
to do that. One example is the XSnippet - Sample about NamePicker Data Provider (dataBean).
There you can get handle of database (names.nsf
) on different server and fetch its entries.

Naveen
- 6,786
- 10
- 37
- 85
-
Thanks a lot, it would be nice if anyone else could suggest an easier solution though :-) – Oct 03 '13 at 13:57
-