Combobox in XPages using @DbColumn

I am new to Xpages and am using a combobox on an XPage that has it’s Value set to lookup to the Domino Directory:var db = new Array(@DbName()[0], “names.nsf”);

@DbColumn(db, “($VIMPeopleAndGroups)”, 2)

However, it does not show/return anything and I do not have an error.

For testing purposes, I have also tried to lookup to a view inside the current database, and I cannot get this to work – nothing is returned.

Here is the code I used:

@DbColumn(@DbName(), “(ProjectsAll)”, 1)

and

@DbColumn(“”, “(ProjectsAll)”, 1)

I know I am missing something, just can’t get a handle on it.

Thanks!

Subject: Re: Combobox in XPages using @DbColumn

The lookup to the address book is correct: just tried it in an XPage and it works.

Does the user you’re testing this with has access to the address book? Simple test: try to open /names.nsf from a browser in the same session.

Mark

Subject: That did it…

I did not have access to the Address Book…

Thanks again!

Dan