I am new to Xpages and have just started exploring it. Am trying to get a field’s value in another field or for using this as key in a @Dblookup formula. Suppose my first field name is “Company” and my second field is “Department”. I have a @DbLookup formula where I want to pass “Company” value as key. I have tried the following syntax to get the field’s value:
@GetField(“Company”)
getComponent(‘Company’).getValue() —> throws error
document.getItemValueString(“Company”)
But, none of these seem to work. I know it could be something very silly but am not able to fnd out a way. Am really stuck up.