---
title: Searching for macros
related:
  - https://docs.kentico.com/13/macro-expressions/macro-syntax.md
  - https://docs.kentico.com/13/macro-expressions/troubleshooting-macros/working-with-macro-signatures.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

The system provides a report where you can find all occurrences of [macro expressions](https://docs.kentico.com/13/macro-expressions.md):

1. Open the **System** application.
2. Select the **Macros -> Report** tab.
3. Specify the filtering options to narrow down the list of macros:

   - **Object type** – shows only macros stored in the data of objects of the selected type
   - **Macro type** – switches between _Context_ {% ... %}, _Query string_ {? ... ?} and _Localization_ {$ ... $} macros
   - **Report problems** – if checked, the report only displays macros that contain syntax errors, have invalid [security signatures](https://docs.kentico.com/13/macro-expressions/troubleshooting-macros/working-with-macro-signatures.md), or use invalid macro methods.
   - **Macro contains** – searches for macros that contain the specified text in their expression
4. Click **Search**.

> **Tip:** **Tip**: Use the **Report problems** option to search the system for instances of macros that do not resolve correctly. Such macros can lead to problems on your websites.

The list displays the following information for each macro:

- The text of the macro expression (if the text is a [macro rule](https://docs.kentico.com/13/macro-expressions/writing-macro-conditions/creating-macro-rules.md), hover over the value to view the actual macro code)
- An indicator showing whether the macro is syntactically valid
- The name of the macro's author (the user name or identity in the macro's signature) and an indicator showing whether the macro's [security signature](https://docs.kentico.com/13/macro-expressions/troubleshooting-macros/working-with-macro-signatures.md) is valid
- An indicator showing whether the macro methods used within the macro expression are valid. Lists all detected problematic macro methods together with a description of the issue.
- The object type and exact field containing the macro

![Searching for macros containing the Date keyword](https://docs.kentico.com/docsassets/13/searching-for-macros/Macro_Report.png "Searching for macros containing the Date keyword")
