Recipe - Search (Rock Pages)
Skill level: Beginner
Organization: College Church (Wheaton)
Requires Rock: 1.6.1
{# strip images & classes from the HTML but otherwise leave structure #}
What
Add a search box to Pages page via a Page Parameter Filter. (Try saying that 10 time fast ;-) )
Why
Finding a page can sometimes be difficult using the Page Map block especially when the page is nested several pages deep.
How
Here is what we are going to create:

- Navigate to the Pages Page
- Add a Page Parameter Filter block to the top of the page. I added it to the Feature section.
- Use the following settings for the Page Parameter Filter block:

- Use the following settings for the Page Search filter:

Notes:
The Key for the filter above needs to be updated to just be Page, it will default to Page Search, i.e. the name of the Filter.
The SQL here is returning InternalName to populate our search dropdown. PageTitle might make more sense depending on your use case.
SELECT [Id] AS [Value], InternalName AS [Text] FROM [page]
Other Pages
You may find it helpful to add a Page Parameter Filter to other page such as the Model Map Page, Workflows, etc. There is a recipe for searching Rock Settings as well.
Follow Up
Please don't hesitate to leave a comment or message me on Rocket Chat (@tony.visconti) if you have questions or find any issues with this recipe.
The Rock community site doesn't currently notify recipe authors when you comment below.
Change Log
~2024-03 Initial Version
Download related file (image.png)