How to use a customize sub form in the FilterAdvFind?

  • KM00459702
  • 20-Jun-2013
  • 28-Jun-2013

Summary

How to use a customize sub form in the FilterAdvFind?

Question

How can use a customized search form instead of the out-of-the-box ones.

Answer

There are 2 options to perform this, first determine which sub form to change, to do this follow those steps:

1. Log into Service Manager as system administrator

2. Go to the form designer typing fd in the SM command line

3. Look for FilterAdvFind

4. Click on Design

5. Click on the search section this is a Sub form, this section uses the following variable: $L.search.format

6. Go to the search form that you would like to change from out-of-the-box to custom

7. Add the RAD Debugger view  (Main menu >Window >Show View >Other >HP Service Manager Administrator >RAD Debugger)

8. Go to the search form where you would like to use the custom form (i.e. for contacts go to Menu Navigation >System Administration >Base System Configuration >Contacts)

9. In the RAD Debugger view type: d $L.search.format

This will display the name of the subform that is being used

Option #1 Rename the customized form and use the out-of-the-box name:

1. In contacts search the sub form is: advFind.search.contacts

2. Go to the form designer and look for that format

3. In the option menu click on Copy/Rename and change the out-of-the-box name from advFind.search.contacts to advFind.search.contactsoob or something like that

4. Go to the form that you would like to use. Change the name to advFind.search.contacts

5. Save the changes

Option #2 change the name of the sub form that is being used:

1. Login Service Manager as system administrator

2. Go to Tailoring >Document Engine >Objects

3.Search for the Object to change, i.e. contacts

4. Go to the Search Configuration tab

5. You will see there the Search Format that is being used out-of-the-box, click on Modify Configuration

6. Change the Search Format from advFind.search.contacts to the one that you customized.

7. Save the changes