Tag : Lotus

HomePosts Tagged Lotus

XPages get value from profile document field

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]  
Continue Reading

Application Event Log

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
Continue Reading

XPages Checkbox

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
Continue Reading