Once you assign departments and expiration dates to your news articles, you can use ShortPoint Connect to show only relevant news on each department's SharePoint page/subsite. This way, each department sees only its relevant news during the timeframe you've set.
Follow the step-by-step guide to learn how to accomplish this:
TABLE OF CONTENTS
Prerequisites
- You must have the latest version of ShortPoint SPFx installed on your SharePoint environment.
- You must be a ShortPoint Designer with an active license.
- You must have a central news page that you can use to add news to your SharePoint Site Collection. To learn how to create one, go to Part 1: How to Create a Central News Page in SharePoint.
- You must already have departments assigned to every news item in your Site Collection. To learn how to do this, go to Part 2: How to Filter News by Department in SharePoint.
- You must have created a page view for each department. Go to Part 2: How to Filter News by Department in SharePoint to learn how to accomplish this.
- You must have assigned an expiration date to every news item in your Site Collection. Once an article reaches the deadline you’ve set, it will not appear on your page anymore. To learn how to do this, go to Part 3: How to Set Up Expiration Dates for SharePoint News.
- You must have the Design Element you want to use to connect on your SharePoint subsite. We recommend using Design Elements that allow listing of multiple items, including Image List, Simple List, Icon List, Slideshow, etc.
Step-by-step Tutorial
Follow the steps below to learn how to set up news by department:
Step 1: Edit the ShortPoint Web Part
Navigate to the page or subsite where you want to display department-specific news. In our example, we created subsites for each department:
For this guide, we’ll use our IT Department subsite. Click Edit:
Close the Toolbox:
Edit the ShortPoint web part:
Step 2: Switch to Grid Mode
NOTEShortPoint Connect is currently only available in Grid Mode:
Click the Switch to Grid Mode icon:
Step 3: Edit the Design Element
NOTEBefore proceeding, make sure you already have the Design Element you want to use to connect on your SharePoint subsite. We recommend using Design Elements that allow listing of multiple items, including Image List, Simple List, Icon List, Slideshow, etc.
Click the cogwheel icon of the Design Element you want to use to connect. For this guide, we’ll use Image List:
Step 4: Select Site News
Go to the Connect tab:
Choose the Site News connection type:
Step 5: Connect
Since we will be displaying news from the Site Collection we’re currently using, choose News from Current Site Collection:
Then select your main root site. In our case, it is Communication Policy:
NOTEMake sure you have already accomplished the guides below before proceeding further. Otherwise, the connection will not be successful. >Part 1: How to Create a Central News Page in SharePoint >Part 2: How to Filter News by Department in SharePoint >Part 3: How to Set Up Expiration Dates For SharePoint News
Then, in the Selected Properties field, add “,Department”:
Under Use Case Parameters, click Custom Column Filter:
In the Column Name field, write ‘Department’ since this is the name of the column we want to retrieve the news items from:
In the Column Value field, delete Me(’displayname’):
Then, inside [%%], write the specific department you want to pull the news from. In our case, since we are using the IT Department subsites, we will write ‘IT News’:
NOTEThe value you add inside the Column Value will depend on the choices you added in the Department Column. In our case, we have IT News, HR News, and Support News:
Click Apply Parameters:
Then, click Connect to apply the connection:
Step 6: Map Items
Go to the Items tab:
Delete all default content:
Use the link icon to map any property you want:
For this guide, we mapped the following properties. You can use the same properties or specify your own.
- [1] #Title - displays the title of the page as the title.
- [2] #Created - displays the date and time the news was created as the subtitle.
- [3] #Description - displays the description of the page as the description.
- [4] #PictureLargeURL - displays the banner image used in the article as the image.
- [5] #OriginalPath - links the news item to the news page.
Step 7: Save
Click Preview to see how your Design Element will look:
Once satisfied, click Update:
Click the eye icon to see your page in real-time:
Save your changes:
Publish your page:
If you have any other department subsites, repeat the same steps.
Congratulations! You can now display timely and relevant news to each department in your organization. With this solution, the news on your sites will automatically disappear once the specified time frame has passed.
To see its accuracy, here are the news we’ve assigned as IT News:
Related articles:
- Part 1: How to Create a Central News Page in SharePoint
- Part 2: How to Filter News by Department in SharePoint
- Part 3: How to Set Up Expiration Dates For SharePoint News
- Part 4: How to Showcase News by Department Using ShortPoint Connect