Here is how you create a SharePoint view (including adding metadata) which can be used to pull filtered pages in the News Center web part.
Step 1: Creating a Metadata Field and Adding Choices
-
Navigate to (*) → Site contents → Site Pages.
-
Click + Add Column.
-
Select Choice and click Next.
-
Give your column a name (e.g., “Technology” and add three choices).
-
Click Save.
Step 2: Tagging Files
Now that you have the metadata field, you can tag your pages with the relevant metadata.
-
Go to each file you want display in the News Center web part view and open the Details panel, as shown below:
-
Pick a metadata choice you’d like to tag this news with.
-
Your metadata will be autosaved.
Step 3: Creating a View and using it in News Center
Now that we have a few pages tagged, it’s time to create a view to group them.
-
Navigate back to Site Pages as before.
-
From the view picker, select “All Pages” as shown below, then scroll down and click “Create new view”.
-
Name your new view (e.g., " Up-and-Coming Technologies") and click Create.
-
The Edit View page should load.
-
Scroll down to Filter.
-
Under Filter, select the second radio button: “Show items only when the following is true”.
-
Configure the fields as follows:
8.1 Column Name: Technology (our created column)
8.2 Choice Name: Robotics (our created choice)
Ensure that names are typed exactly as created earlier, including capitalization, as they are case-sensitive.
-
Scroll to Folder Settings and set it to “Show all items without folders”.
-
Click OK to save the view.
-
Your new view will load. Copy view URL from the browser address bar.
-
Now, let’s go to our News Center web part properties, and paste the URL you copied into the desired category, as shown below:
-
Click Save.
That’s it!
Now, when users click on the “Technology” category in the News Center web part, the web part will show only pages that belong to the view we created (and tagged with appropriate keyword).