Add a Custom Attribute to the Partner Keyword Search

In this example, let's look at how to add the custom Region field to the Partner Keyword Search page in your Partner Finder application. This will let users search for partners by region. You do this in VBCS.

In VBCS, complete these steps:

  1. Navigate to Web Applications > partnerfinder > Flows > partner-finder.

  2. Click the Variables and Types icon (x) > Variables tab > keywordFields.

    This is a screenshot of the values to select to add a new keyword to the Partner Finder search.
  3. In the Default Value region, add the custom Region field, Region_c, to the existing list of keywords so that users can search for partners by region.

    This is a screenshot of manually adding the custom field API name to the Default Value region.
  4. Add the custom Region field, Region_c, to the search hint text so that users are alerted that they can search for partners by region.

    This is a screenshot of how to update the string repository.
    This is a screenshot of adding new text to the search hint text.
  5. Click the Play icon to run the application to verify the change.

    This is a screenshot of the Play icon in VBCS.
  6. Verify the change. Notice that the "region" keyword is now added to the hint text in the search box.

    This is a screenshot of the final result of adding new search hint text to the Partner Finder search box.