DocPublisher‎ > ‎3. How to‎ > ‎

How to create dynamic list of choices for custom properties

The type of custom document property should be set to "Choice (menu to choose from)". 

The "List of choices" setting should be set to "Evaluated by Formula". 

Field "Enter formula for choices" should be filled with the actual Lotus formula that evaluates to a list of values.

@DBColumn and @DBLookup formulas are especially good choice for this purpose.
 

E.g. formula

@DBColumn("":""; "":"names.nsf"; "Server\\Servers"; 3);

 
Returns a list of servers registered in the Domino directory on the current server.

Comments