# Global Search

It's possible to include external objects in Global Search results:

<figure><img src="/files/q8okISgukxQd0dVgBZ0J" alt=""><figcaption></figcaption></figure>

However, it won't automatically search them. Users must click on the external object name of the left hand sidebar after running the search.

### How it works

When Salesforce Connect searches an external object, Omnata will run a query which includes a series of OR filters for each included String-type field, effectively searching for the presence of the search term within the text of that field.

Therefore, in order for the searches to work, you must include at least one text field in the Search Results layout for that external object:

<figure><img src="/files/I3kUmiwOwyAlHLxbKq7z" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1YBEA5siUVSzpgh0MwgA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/eAKPPLDklh39xu1p8fHj" alt=""><figcaption></figcaption></figure>

Note that you can include other types of fields in the search results, but their contents won't be subject to the search term filtering.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.omnata.com/omnata-product-documentation/omnata-connect-for-salesforce/best-practices/global-search.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
