I can't find the right way to get a list of names from the address book

My goal is to provide a combobox of names from our company address book. Sounded easy enough til I tried it. My drop down list is blank. I have a local copy of the company address book, which I named abc.nsf. This is what I’ve tried so far for my combobox values formula:

var db = new Array(@DbName()[0], “abc.nsf”);

@DbColumn(db, “($VIMPeople)”, 1)

var svr = @Subset(@DbName(), 1);

var db = new Array(svr, “abc.nsf”);

@DbColumn(db, “($VIMPeople)”, 1)

var db = new Array(“”, “abc.nsf”);

@DbColumn(db, “($VIMPeople)”, 1)

None of these work. abc.nsf is in my data directory locally. Eventually, this list will need to pull from names.nsf on the server, but for development, I’m running local.

What am I doing wrong? Do I have a syntax problem somewhere?

TIA

Subject: Are you wanting them to be able to pick names and put those in a single field?

If so, make the field a Names field and under Choices select “Use Address dialog for choices” and this gives you the exact prompt you get when selecting names in new emails.

Subject: This is a combobox on an XPage

…so I need the formula in javascript to work in the browser.