Fetch value from profile Document

Hi,

I want to fetch value from a field of Profile document in a custom control which is usually done by @GetProfileField in Lotus 6.5.

Plzz suggest

Subject: Code to fetch value frm profile doc

This can be achived by taking handle of profile document and then fetching value of required field. use foloowinf code ->Here variable “allReqText” is having the required value.

profileDocument = database.getProfileDocument(“frmFormFieldValidation”,“”);

var allReqText = profileDocument.getItemValue(“fldReqFor”);