Skip to main content link. Accesskey S

The useful resource for IBM Lotus Domino XPages development

Submit Search


Formula

Page1

Useful formulas and code snippets

Julian Buss | April 6, 2009 12:03:33 PM | Tags:code, formula, javascript

Here are some various snippets. ==Get the current username== Use {code:}session.getEffectiveUserName(){code} to the the name of the user who is logged on. Use @Name() to convert it for exampel to a CN name: {code:} @Name("[CN]", session.getEffectiveUserName()) {code} ==Check if a user contains a ...

Work with DbColumn and DbLookup

Julian Buss | April 6, 2009 12:48:36 PM | Tags:code, formula, view

@DbColumn and @DbLookup (mind the case!) expect an array of servername and filepath as first parameter. ==Example get a name of all people of the Domino Directory== {code:} db = new Array(@DbName()[0], 'names.nsf'); @DbColumn(db, "(People)", 2) {code} Note: use ($People) instead of (People) as ...

Page1
How to take your XPages App to the iPhone, iPad, Android: use Domino To Go!
Do you look for an XPages Workflow solution? Take YouAtNotes Workflow.