on 06-03-2009 4:52 PM
Hi,
Am getting the below exception while getting the value from the MDM repository for a field 'X'
java.lang.IllegalArgumentException: Field with ID 'F67_12034' is not Lookup field of table 'T1', so any action on Lookup field can not be evaluated
Any inputs?
Thanks,
Rekha
Hi Rekha,
The field X is not a lookup field.Check the type of the 'X' Field in console.
MdmValue mdmValue = record.getFieldValue("field id of X field");
if it is look up field then use below line
if(!mdmValue .isNull){
LookupValue lookupValue = (LookupValue) mdmValue;
}
if it is string ...
String str = mdmValue.toString();
Hope this helps you.
Cheers,
Veeru.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.