Kentico Xperience 13 documentation and ASP.NET Core

Most documentation about running Xperience applications under ASP.NET Core can be found in a dedicated section: Developing Xperience applications using ASP.NET Core. The rest of the documentation still applies, but some code samples and scenarios might need slight modifications for Core projects.

Certain pages allow you to switch between Core and MVC 5 content using a selector located under the page heading.

All major differences between the MVC 5 and Core platforms are summarized in Migrating to ASP.NET Core.


Searching for macros

The system provides a report where you can find all occurrences of macro expressions:

  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, or use invalid macro methods.
    • Macro contains – searches for macros that contain the specified text in their expression
  4. Click Search.

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, 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 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

Was this page helpful?