Appearance
Code Search
Menu: Development → Code Search
Deep link:/_Admin/development/code-search?SiteId={siteGuid}
Full-text search across code and template bodies in the site: pages, View, Layout, Script, Style, Code, HtmlBlock, forms, content, and more. Lists hit line numbers and snippets; Edit opens the corresponding editor in a new tab.
Permissions
Menu permission: code·view. Enable Development → Code Search in Edit Menu (advanced). Row Edit icon also needs view permission for that object type (e.g. page·view for pages).
How to Open
- In Edit Menu, enable Development → Code Search.
- Open Development → Code Search in the left sidebar.

Search box
| Control | Description |
|---|---|
| Keyword input | codeStore.keywords, placeholder "Search code"; debounced ~1s then requests CodeSearch/Search |
| Aa | Toggle case-sensitive (ignoreCase inverted; highlighted = case-sensitive) |
| .* | Toggle use regular expression (isRegex); invalid regex does not trigger search |
Empty keyword clears results. Leaving this page when target route has no id clears the keyword (avoids carrying it to other pages).
Shortcuts (same as buttons beside input): case-sensitive, use regular expression.

Results list
No pagination; when there are matches, table shows:
| Column | Description |
|---|---|
| Name | Object display name |
| Type | e.g. Page, View, Code, Layout, Script, Style, etc. |
| Line | One row per hit: Line N: + snippet (matched[].lineNumber is 0-based; UI shows N+1) |
| Edit | Pencil icon opens that object's edit route in a new tab (pages jump to designer/rich text/layout editor by page type) |

Edit navigation (by type)
| Type | Typical route |
|---|---|
Page | By params.type: layout designer, rich text, layout page editor, etc. |
View / Layout / Script / Style / Code | Corresponding view-edit, layout-edit, etc. |
HtmlBlock | htmlBlock-edit |
Form | form-edit |
TextContent | Content edit |
Related
| Doc | Description |
|---|---|
| Development overview | Development menu index |
| Code | Code file management |
| Code log | Runtime logs |