Question

I created an edit box which bends on a Names fields inside my form.

I checked the Enable Type Ahead and at the Suggestions I added:

var db = new Array(@DbName()[0], "names.nsf");
@DbColumn(db, "($VIMPeopleAndGroups)", 2)

but it doesn't works for me. Is the view name correct typed?

My application works both on Notes client and web-browser.

Thanks for your time!

Was it helpful?

Solution

Your is code is correct but I guess your current user Anonymous (?) is not allowed to access names.nsf.

Log in as a named user on browser and then it should work.

You can shorten your code to:

@DbColumn("names.nsf", "($VIMPeopleAndGroups)", 2)

if you don't use XPiNC as the code is running on server and therefore you don't need to specify a server name as parameter.

But, consider to use xe:namePicker with xe:dominoNABNamePicker instead.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top