on 06-18-2014 1:13 PM
Hi All,
I am new to CRM WEBUI and i am facing issue in populating value in one field of search result view.
Current requirement is .
On product f4 , we get search help and search result view.
one custom field need to be added in search result view ( for eg any description field).
This description field is already available in one of z relation maintained in PRODUCT root object.
Solution tried so Far:
1. We enhance one Standard Product structure and add that description field .
2. Add new field( description) in result view context node as attribute by using bol attribute.
3. Customize search result view and display that description field in result.
By doing above three steps, field is available in search result view.
but issue is we are not able to get values.
1st Approach: write code in getter and setter method . Pass the relation name and get the property of description field
in setter method, set the property.
Issue : we were not able to sort the values on this description field. so scrap this 1st approach
2nd Approach: In Event EH_Onsearch Help, we try to use collection wrapper to get current value of description
by using relation name .
We use component controller to set the value of description since searchresult view-conext node->result node is bound to one comp controller node.
but this solution also does not work..
Please advice us what approach we should use to get value in description field and sorting should also work.
Thanks in Advance.
Hi Girish,
1. We enhance one Standard Product structure and add that description field .
2. Add new field( description) in result view context node as attribute by using bol attribute.
3. Customize search result view and display that description field in result.
By doing above three steps, field is available in search result view.
but issue is we are not able to get values.
1st Approach: write code in getter and setter method . Pass the relation name and get the property of description field and by using this approach we are able to get value but sorting was not working so we disable the sorting as it was not required by business.
if u need sorting on that field.
then u should go for value node approach and write code for getting value in get set method
and for sorting also , need to write code.
This is my understanding on this .
Please reward if this solution is helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
For displaying the value in Result view, we can write logic in Get Method. That will work.
But the field in search view, u need to write logic in BADI level.
So please check is there any BADI in Genil Level getting triggered while you performing the search operations. If yes, then we need to write our logic in BADI class by creating implementation.
Please Let me know if u need further inputs.
Thanks & Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Arun,
I am also facing the same issue please let me know if you resolved this
Regards
Girish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.