Instead of hardcoding values, we can store them in profile documents.
Using Lotus formula language, we can use @GetProfileField(profilename; fieldname; username) to retrieve field values from profile document.
In Xpages controls property, you can set computed value from profile document. Sample code is as below
[code]
var profileDoc:NotesDocument = database.getProfileDocument("ProfileDoc","");
return profileDoc.getItemValue("AppPath")[0];
[/code]
IBM published a new redbook wiki on Lotus Domino Development Best Practises.
Lotus and IBM® Redbooks® have partnered together to share best practices for developing Domino applications.
This wiki covers what is needed to build or enhance an application, regardless of client, and the general practices to make development easier, less time
For application development, I normally use OpenLog from OpenNTF. What if an application logs directly into log.nsf file on the server.
Recently, I had to go through the Lotus Domino log.nsf to look for logs related to specific application. This is time consuming thus I've created an application to do the
I need to create some check box for a XPage application. By default, the Check Box control only show 1 option. Sames goes for the radio button.
If you need to have a multiple option for selection, the Check Box Group need to be selected.
It would be simpler if there is