Configure Row Finders for a Business Object

If an ADF REST service includes row finders, you can view and configure them through the Finders tab of the Business Object Editor.

Row finders are predefined filters available through services that allow you to download a specific subset of records. For example, your service may include a row finder that filters expense reports by "unapproved" status and assigned to the "current user". In this case, a business user could use the row finder to download only those expense reports that require their approval. See Use Row Finders to Limit Downloaded Data.

From the Finders tab, you can open a row finder in the Row Finder Editor and configure how it appears in the add-in. For example, you can:

  • Set row finder variables for either basic or advanced searches.
  • Remove unwanted row finder variables so that they don't appear in the prompt at download time.
  • Give row finders or row finder variables a more readable title.
  • Add some help text to help your business users understand what a row finder does or what should go in a row finder variable.
  • Configure a list of values for a row finder variable.
  • Reorder how row finder variables appear in the Search prompt.
  • Define default values for row finder variables.

Note:

Row finders are defined through the service. You can't add row finders or row finder variables through Oracle Visual Builder Add-in for Excel. Nor can you change properties like the finder's ID or a variable's data type on the service. Any changes you make must be compatible with the service. If your changes are incompatible, you will likely see errors during a download.

To configure row finders:

  1. Navigate to the Row Finder Editor for the row finder you want to edit:
    1. In the Excel ribbon, click Designer.
    2. In the Layout Designer, click the Edit icon (Edit) next to the Business Object.
    3. Click the Finders tab in the Business Object Editor to view a list of available row finders. Remove row finders if required.

      Note:

      The Finders tab is only displayed for ADF REST services.
    4. Select a row finder from the list and click the Edit icon (Edit).

  2. Edit the settings on the General tab as required.

    Caution:

    Take care not to change the row finder's ID.

    For example, you can:

    • Change the value for the Title property to be more readable.
    • Add descriptions of the row finder using the Help Text and Description properties.

      The Help Text property is intended to give your business users more information about the row finder. This text is displayed in a popup next to the row finder title in the search prompt. The Description property is intended for workbook developers. This text is displayed only in the designer UI, like the Finders tab of the Business Object Editor. You can use this property, for example, to provide technical details of the row finder to workbook developers.

    Note:

    The values for the Title and Help Text properties can be translated. See Manage Workbook Translations.

    If a row finder supports variables, they'll be listed on the Variables tab. Variables act as arguments or parameters for the finder.

  3. Click the Variables tab, to view a list of variables.

    Variables are shown in the order they appear in the Search prompt. To change the order of the variables, drag a variable to another location in the list.

    You may want to reorder variables if you are configuring lists of values with dynamic filters. Consider a row finder, "Employees By Country, State, and City" that includes three row finder variables in this order: "CityId", "CountryId", and "StateId". You'll want to move the CityId variable to the bottom so that the business user first selects a country, then a state, and finally a city.

    Tip:

    You can also right-click a variable and select an action (Move Up, Move Down, and so on) from the popup menu.
  4. To open a row finder variable, select it from the list and click the Edit icon (Edit icon).

  5. Edit the variable as required.

    Caution:

    Take care not to change the variable's ID.

    For example, you can:

    • Change the row finder variable's title.
    • Use the Help Text and Description properties to provide useful descriptions of the variable. The Help Text value is displayed as a popup next to the row finder variable in the search prompt.
    • Set a default value for the row finder variable. Let's say you have a workbook that needs to show expense reports based on the business unit using it, such as "Manufacturing". If the service has a row finder, "FindByBusinessUnit", and that finder includes a variable, "BusinessUnit", you can set the default value of the variable to "Manufacturing".

      When a business user downloads data, the Search prompt displays the default value, "Manufacturing", for the Business Unit variable.

      Default values are not supported if a list of values is configured for the row finder variable.

      Default values can also use expressions such as Today () for Date (no time) fields. See Use Expressions in an Integrated Workbook.

      Note:

      Reserved words are not supported with one exception. You can use expressions that reference workbook parameter values in the default value for row finder variables. See Use a Workbook Parameter Value for a Row Finder Variable.
    • Select the Required check box to force the business user to provide a value at download.
    • Select the Advanced Search Only check box to include this variable only in advanced searches. Deselect this check box to include this variable in the basic search.

      During a download, the add-in opens a search prompt that includes only basic search variables. If a business user wants to perform a more refined search, they can click the Advanced button to display both the basic and the advanced variables.

      If the business user proceeds with a basic search, the advanced variables are not included in the download request.

      Note:

      When editing a row finder's variables, make sure to leave at least one basic variable to display in the search prompt.

    Note:

    The values for the Help Text and Title properties can be translated. See Manage Workbook Translations.
  6. If required, configure a list of values for a row finder variable from the List of Values page in the Row Finder Variable Editor. See Configure a List of Values with a Business Object.
  7. Click Done until you return to the Layout Designer.

Once you are done making changes, the row finders become available to you as an option to limit downloaded data, as described in Use Row Finders to Limit Downloaded Data.