This content has been marked as final. Show 7 replies
So you have an option list. There are keys which are IDs and values which are the text display values.
When you run a search, the value for the option list metadata field is returning the key (ID). You want the value (text display value).
Is this correct?
If your option list is setup based on a view, you could make the keys/values the same.
Otherwise, I think your only option is to run a service call to fetch the display value (since the search is not returning this). If you are going to be doing this often, it might make sense to cache this information somewhere.
Hi Somesh ,
Well , with the MLR 10 patchset of WCC PS5 this feature was there (as a bug) :-) where in the display value is shown with search results from RIDC . So , if you want to use that without additional effort then download the following patchset :
Glad to know there is a requirement which is considered as a bug in product :-)
By the way this is not the right behavior which was being done from WCC side , it has since been fixed in the later patchsets .
i wrote below code in side effect
here test1 is the drop down for which i want display value.
created a new metadata field called test2 (type text).
added it in global rule as hidden and set derived value as
that is it now from seach result in java code i can get this test2 field easily :)
Edited by: TheNewBee on Apr 1, 2013 4:42 AM