What would you like to know more about?

Show Page Sections

Filtered Pages

A filtered page is a copy of a page with additional criteria applied to limit which rows of data appear on that page. A filtered page can have its very own reports, tools, and page views. Often creating a filtered page results in creating a new Security Role to go with it. Permission to use the filtered page can be granted to existing or new Security Roles. Field restrictions can be applied to the page through the Security Role so that users see only the fields they require.

Important: There should always be an unfiltered version for each table. The API uses the unfiltered version. All other pages accessing the table should be filtered.

How would we use a filtered page?

  • Grant some users rights to a subset of the information on a particular page. For example, a filtered version of Donation Distributions allows some users to see only the Donations distributed to a subset of Programs. And if you wanted someone to be able to view, edit, or delete any Household Care Notes except Benevolence, you could create a filtered page for Household Care (No Benev) and filter out that type of care.
  • Simplify the user interface so users can only access records and fields they need for their ministry. For example, a filtered Groups page might list only "Small Groups" and hide all fields related to check-in and promotions that are needed primarily by other types of groups.
  • Limit user access to sensitive information. For example, a filtered version of the Custom Form and All Form Responses pages can limit users who are able to see sensitive information that may have been collected via a custom form.
    Note: While filtering pages were previously used to ensure some users can only access information related to their campus (for example, a congregation), leveraging Global Filters is the best practice for filtering user access.

How do I give users access to my filtered page?

Grant your users rights to the new page through a new or existing Security Role. As a best practice, give the Administrators security role full rights to your filtered page immediately after you create it.

Can I apply a filter to an existing, unfiltered page?

You should not do this. Leave the pages that came with MinistryPlatform unfiltered. Instead, create a copy of the Page and filter it. There should always be one (and only one) unfiltered version for the API to use.

How do I add things to a filtered page (for example, reports and tools)?

You can make Reports, Tools, Sub Pages, and Page Views available to users of your filtered page.

  • Adding Reports & Tools:
    1. Deploy the tool to the page by opening the tool and adding the filtered page to the Pages sub-page of the open Tool record.
    2. The tool must also be permitted on one of the user's Security Roles. If you created a Security Role specific to your filtered page, add the tools and reports to this security role.
      Note: Some tools and reports are specific to a table in the database. A good rule of thumb is that you can ONLY add tools and reports to the filtered page if they were available to the original page.
  • Adding Page Views: These can be created on the new page OR copied from the original page. All of the usual rules about Page Views apply.
  • Adding Sub Pages: You can copy a sub-page from the original page, edit it, and assign it to the filtered page. A very advanced user of the System Setup area may be able to create new sub-pages for a filtered page.

Take your Filtered Page to the Next Level

  • Copy views from the original page into the new page. If you do not copy the existing views when you create the page, you will need to make new views for the page as each view can only be associated with one page at a time.
  • Open up reports on the reports page and assign them to the new page.
  • Put the new page in a Page section (new or existing).

Reminders

  • There should always be an Unfiltered version for each table. The API uses the unfiltered version.
  • Jump links will always go to the main page (not the filtered page).
  • Links in user tasks will always go to the main page (not the filtered page).
  • All Filtered pages should have a filter clause.

Create a Filtered Page

You can create your own filtered page!

We do not recommend adding filtered pages for Contacts, Participants, Donors, Households, Room Reservations, Milestones Assigned, Donations, Deposits, or Distributions based on Ministries Allowed. We do recommended filtering pages on Groups, Group Participants, Events, Event Participants, All Form Responses, All Payment Details, and so on.

Note: Want a filtered page, but don't want to go it alone? We can help! Contact Support and ask for help from Professional Services.
  1. Copy the existing page you want to filter.
  2. Rename your page.
  3. Apply filter criteria to your new page.
    Tip: Use the Advanced Search tool on the page you plan to copy to develop the criteria you want to use. Just copy it from the SQL Layout tab of the advanced search tool.

Turn a Page View into a Filtered Page

  1. Find a view that has the conditions you want to use as a filter on your new page.
  2. Go to System Setup > Page Views, locate the view, and copy the view clause.
  3. In System Setup > Pages, open the Page record.
  4. Copy the page (and sub-pages, if needed).
  5. Paste the view clause from your view into the Filter Clause of this new, copied page.
  6. Click Save.
  7. Open the Administrators security role and give administrators rights to this new page.
  8. Create a new security role and grant that security role rights to the page.
    Note: You can use an existing role, but only if you are sure about what that role does otherwise.
  9. Optional: Add field restrictions on this page.
  10. Add users to the new Security Role.
  11. Optional: Add tools to the new Security Role.
  12. Optional: Add reports to the new Security Role.
    Note: Any views associated with any sub-pages you copied are not copied to the new sub-pages for your filtered page.

Associate the Sub-Page Views

Connect sub-page views that were part of the original page with your new sub-page.

  1. Go to the Sub-page views page.
  2. Open the view you want to be associated with your new sub-page.
  3. Copy the view.
  4. Edit the copied view and associate the view with the new sub-page that is associated with your new filtered page.

Put a New Page in a Page Section

  1. Go to System Setup > Page Section Pages.
  2. Select New.
    1. Page: Your newly created filtered page.
    2. Page Section: The page section you want your filtered page to be in.
    3. User: Leave this blank.
  3. Click Save.