Skip to Content
J C

Getting value attribute in configuration for seatch screen

Hi Experts,

I have created a value attribute in the BP Contact search node for contact search screen i Web UI. However, I don't get the field in screen configuration available fields to configure. Do I need to do anything extra to make it available for configuration?

Thanks,

JC

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Mar 14, 2014 at 05:59 AM

    Hi,

    You cant use value attributes for search.

    you can do append structure to add your custom field in search structure.

    Regards,

    Deepika.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 14, 2014 at 08:38 AM

    I feare the above post is not entirely correct. You are able to add value attributes to the configuration screen on the UI. These fields however are not supplied to the underlying search class in GenIL. Thus you need to distinguish:

    a) you need the field as search criterion in the GenIL class, too. --> Probably go with the solution Deepika suggested.

    b) you need the field on UI only and want to react on it there. Could be useful if you need to add or alter search criteria that are already existent when the attribute is set.

    For option b)

    You need to adjust the method GET_POSSIBLE_FIELDS in your search controller class as well. Usually only the BOL node structure is regarded when it comes to search attributes. Have a look at GET_DQUERY_DEFINITIONS to provide custom value helps.

    cheers Carsten

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.