How do I filter by a specific entry ID?
If you want to create a link to a View that goes to the Multiple Entries context but only shows entries that are pre-filtered to a single entry based on its ID, you can do that two different ways:
1. Using the Search Bar
- Add a Search Bar widget to your View
- Add an Entry ID field
- Save the View
- Go to your View URL and add
?gv_id=123
to the page URL, where123
is the number of the entry
2. Using Advanced Filtering
Note: This requires the Advanced Filter extension, included in the Core + Extensions and All Access licenses.
- Edit the View and go to View Settings
- Click on Filter & Sort
- Add a filter to the View where "Entry ID" "is"
- Choose the name of the URL filter you would like to use. In this example, we are using a placeholder
ParameterName
- Add a {get} Merge Tag as to the filter value, using your parameter name (in this example,
{get:ParameterName}
- Save your View
- Access your View and add the Entry ID to the URL like this:
https://example.com/view-page/?ParameterName=123
, where123
is the Entry ID.