How to create dynamic JavaScript in Notes Domino without formulas
If you need to create a large amount of dynamic JavaScript and you're not familiar with the use of @DBColumn and @DBLookup formulas, this tip is for you. Placing this code in your HTML Head Content section is a simple workaround for busy Lotus Notes Domino developers.
![]() |
||||
|
![]() |
|||
![]() |
Place a link in the "HTML head content" to a page in one of your Lotus Notes databases. In that database, create a page, treat the content as HTML and name the file using a .js extension. If necessary, pass all of the arguments in the call to that page. The JavaScript code below furthers explains the process.
Add this code to the form's "HTML head content" section:
(Click on code for enlarged view and script download.)
Next, create a "Computed Text" using this formula in the line that requires a parameter:
(Click on code for enlarged view and script download.)
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip library by member Azeddine Taoufiqi. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.