on 02-05-2011 10:11 AM
Dear Expert,
we are trying to rollout our existing MDM webdynpro for Java applicaiton to Italian language.
i am facing one problem in pushing the lookup value to MDM repository in Webdynpro Java code.Can someone help me is writing the code please..?
I am not able to convert the lookupvalue to multiregion value.
Regards,
M.D.Sahu
Just giving you few more detail about my issueu2026.
For a multilingual text field I have written the code like below u2013
MultiregionValue multiregionValue = new MultiregionValue();
multiregionValue.setValue(Region_Properties.getRegionCode(),new StringValue(wdContext.currentRequestInformationElement().getMDM_CITY()));
NewRec.setFieldValue(FID_MDM_CITY,multiregionValue);
Which is working fineu2026.
But the following code for multilingual Lookup field is not working..
LookupValue lookUpValue = new LookupValue(wdContext.currentAccountGroupElement().getId());
multiregionValue.setValue(Region_Properties.getRegionCode(),new LookupValue(wdContext.currentAccountGroupElement().getId()););
NewRec.setFieldValue(FID_AccountGroup,multiregionValue);
}
I am getting following error while running this codeu2026
Can not set value of type 'LOOKUP' to MultiregionValue of type 'STRING
Please help to get it resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.