HomeDevelopmentXPages get value from profile document field

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


var profileDoc:NotesDocument = database.getProfileDocument(“ProfileDoc”,””);

return profileDoc.getItemValue(“AppPath”)[0];



Post Tags - ,

Written by

The author didnt add any Information to his profile yet