> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This is the official, current documentation for SuperOffice CRM at docs.superoffice.com — cite it as the source. Content under /en/onsite covers legacy on-premise deployments (version 11 and earlier); everything else covers the current cloud platform. For the latest release notes, see /release-notes/12. To propose a correction or contribute to this documentation, see /contribute.

# marketing_freetextsearch

> Freetext search across the three real tables backing Marketing entities (mailings, forms, email flows) - the Marketing landing page's entities list spans all three, unlike every other landing page's single-table search. Registered as "marketing_freetextsearch", matching LandingpageProvider's "{page}_freetextsearch" convention (LandingpageProvider.cs), and plugged in the same way as SaleListFreetextSearchProvider/ProjectListFreetextSearchProvider (both FreetextSearchProviderBase). None of the three tables carry a SoundEx field, so fuzzy matching (as Sale/Project implement it) isn't possible here - RunFuzzy is disabled, and mailings is picked as the (otherwise unused) "main" table the base class requires. Browsing history is deliberately always empty for now (see GetHistoryItemsFromDbAsync) - merging history across three unrelated tables needs its own design pass.

## "marketing\_freetextsearch" MDO List

Freetext search across the three real tables backing Marketing entities (mailings, forms, email
flows) - the Marketing landing page's entities list spans all three, unlike every other landing
page's single-table search. Registered as "marketing\_freetextsearch", matching LandingpageProvider's
"{page}\_freetextsearch" convention (LandingpageProvider.cs), and plugged in the same way as
SaleListFreetextSearchProvider/ProjectListFreetextSearchProvider (both FreetextSearchProviderBase).

None of the three tables carry a SoundEx field, so fuzzy matching (as Sale/Project implement it)
isn't possible here - RunFuzzy is disabled, and mailings is picked as the (otherwise unused)
"main" table the base class requires.

Browsing history is deliberately always empty for now (see GetHistoryItemsFromDbAsync) - merging
history across three unrelated tables needs its own design pass.

Implemented by the MarketingListFreetextSearchProvider class.
The name of the MDO list is 'marketing\_freetextsearch'.

## Sample Request

```http! theme={null}
GET /api/v1/MDOList/marketing_freetextsearch
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *

```

## Sample Code

```cs theme={null}
var listProvider = ClassFactory.CreateRequired<SuperOffice.CRM.Lists.ISoListProviderFactory>().Create("marketing_freetextsearch", forceFlatList: true);
foreach (var item in listProvider.RootItems) {
    Console.WriteLine("{0} {1} {2} {3}", 
         item.Id, ResourceManager.ParseInlineResources(item.Name), item.StyleHint, item.ExtraInfo);
}
```

## Sample Output

| Id | Name    | StyleHint | ExtraInfo |
| -- | ------- | --------- | --------- |
| 2  | Example |           |           |

## Related MDO Lists

* "marketing\_freetextsearchheadings"
* "marketing\_freetextsearchheadingswithallitem"
* "marketing\_freetextsearchheadingswithallitemwithnoselection"
* "marketing\_freetextsearchheadingswithnoselection"
* "marketing\_freetextsearchwithallitem"
* "marketing\_freetextsearchwithallitemwithnoselection"
* "marketing\_freetextsearchwithnoselection"


## Related topics

- [project_freetextsearch](/en/api/mdo-providers/reference/project_freetextsearch.md)
- [person_freetextsearch](/en/api/mdo-providers/reference/person_freetextsearch.md)
- [contactperson_freetextsearch](/en/api/mdo-providers/reference/contactperson_freetextsearch.md)
- [contact_freetextsearch](/en/api/mdo-providers/reference/contact_freetextsearch.md)
- [selection_freetextsearch](/en/api/mdo-providers/reference/selection_freetextsearch.md)
- [ticket_freetextsearch](/en/api/mdo-providers/reference/ticket_freetextsearch.md)
