---
id: object/page/2686
type: object
title: Page 2686 "Data Search Setup (Lists)"
summary: Page 2686 "Data Search Setup (Lists)" in DataSearch (Microsoft.Foundation.DataSearch). 3 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - datasearch
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 0298e25541ed965fb5dc385f421f246e3c4b5b88abffdfb758b3a2990951678f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/DataSearch/app/DataSearchSetupLists.Page.al
    title: src/Apps/W1/DataSearch/app/DataSearchSetupLists.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 2686
name: Data Search Setup (Lists)
caption: Enable lists for searching
namespace: Microsoft.Foundation.DataSearch
app: DataSearch
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 10
  events: 0
  subscribers: 0
  controls: 6
  actions: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 2686 "Data Search Setup (Lists)"

> Page 2686 "Data Search Setup (Lists)" in DataSearch (Microsoft.Foundation.DataSearch). 3 public procedures. Introduced in BC29, still in BC30.

DataSearch · Microsoft.Foundation.DataSearch · captioned "Enable lists for searching" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/DataSearch/app/DataSearchSetupLists.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Enable lists for searching |
| SourceTable | Page Metadata |
| PageType | List |
| UsageCategory | Administration |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Content | Choose among lists for role | `AllProfile.Caption` | Specifies which role the search setup is valid for. |
|  | Show only search enabled lists | `TableFilterIsSet` | Specifies whether only the enabled lists are shown or all lists are shown. |
| Control1 | List No. | `Rec.ID` | Specifies the ID of the page. |
|  | List Name | `Rec.Caption` | Specifies the name of the list. |
|  | Enable Search | `ListIsEnabled` | Specifies whether this list is included in search. |
|  | Main Source Table | `TableMetadata.Caption` | Specifies the base table name of the list. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Reset to default | Removes the current selection for this rolecenter and inserts the default list selection. |  |
|  | All lists | Select this action if you want to see all lists and/or select more lists to be included in the search. |  |
|  | Only enabled lists | Compacts the view, so you only see the lists that have been enabled for search. |  |

## Procedures

- `FindRec(var PageMetadata: Record "Page Metadata"; Which: Text): Boolean` (internal)
- `NextRec(var PageMetadata: Record "Page Metadata"; Steps: Integer): Integer` (internal)
- `InitSetup(NewRoleCenterID: Integer)` (internal)

Plus 7 local procedures.

## Triggers

OnFindRecord, OnNextRecord, OnAfterGetRecord, OnAfterGetCurrRecord, OnOpenPage

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Data Search Setup (Lists)")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
