Wednesday, January 7, 2026

SharePoint Online News Filtering: How to Filter News Posts in Communication sites

Introduction: 

One of the most effective methods to hand out updates, announcements, blogs, and stories throughout your company is through the News feature in present-day SharePoint Online. However, a lot of people only display kinds of news, like 

  • Post a blog. 
  • Updates particular to a department 
  • News about Projects 
  • Announcements 

This is when it gets helpful to filter the News web part section. 

We will guide you through the process of using page characteristics to filter SharePoint News, specifically the Page Category field. This method is fully supported by Microsoft.  

SharePoint Online News Filter Functionality 2025

Why Use SharePoint Online to Filter News? 

You benefit from filtering: 

  • Show off only relevant News posts. 
  • Organize content by categories. 
  • Create sections for your blog. 
  • Maintain a cleanup communication site. 
  • Improve information discoverability. 

You may filter News on any page by using information like Page Category. 

 

Requirements 

A communication site for SharePoint  

  • Modify the site’s permissions. 
  • A few news articles have already been made. 
  • The ability to change the Site Page Library. 

 

Step 1: Establish a Page Category Column in the Site Pages Library 

  1. Navigate to your Communication Site. 
  2. Select Site contents. 
  3. Access Site Pages, hover over it to see visible ellipses, then click on it to see “Setting.” 
     Site Pages → ellipses (…) → Settings

  4. Click on the creating column and pick a choice type. 
  5. Label the column as “Page Category.” 
  6. Add choice values such as: 
    1. Blog 
    2. Project Report 
    3. Status Report 
    4. General News 
    5. General Page 
    6. Announcement 
    7. News 
  7. If you want to set the default value, set it; otherwise, leave it blank. 
     Enter the column name, select Choice as the type, add the choice values, set the default value, and click OK.

  8. Click on the “OK” button to add column. 

Important: this column should be established within the Site Pages library – not within any other list or library. 

 

Step 2: Categorize Your News Posts using Page category 

Every News post needs to have a category assigned for filtering purposes. 

  1. Open any News Post. 
  2. Select Page details (located at the top-right). 
  3. Scroll down to page category. 
  4. Pick a value (for instance, blog). 
  5. Publish or republish the page or automatically save the changes, so wait for it.  

 Go to Site Pages, select the page, click the top-right corner icon to open Page Details, and update the Page Category value.

 

Step 3: Incorporate the News web part into your page. 

Navigate to the page where you wish to show filtered News. 

  1. Select Edit. 
  2. Click on the plus sign. 
  3. Looking for News. 
  4. Integrate the News web part. 
  5. Choose your preferred format (tiles, list, carousel, etc.).  

Note: If you have already been on your communication site, then skip the few steps. 

 

Step 4: Apply Filters to the News Web Part Based on Page Category. 

  1. Modify your page. 
  2. Highlight the News web part. 
  3. Select the Edit web part option (pencil symbol). 
    Click the Edit icon to update the news property.

  4. Scroll down to Filter. 
  5. Pick Page properties. 
    See the filter and select the “Page Properties” filter option.

  6. In the Property name section, choose: Page category. 
     For Property Name, select the property named “Page Category.”

  7. In the value input field, type or select: Blog. 
     Select the values; currently, only “Blog” is selected.

  8. Implement changes. 
  9. Publish the page. 

Now, the News web part will exclusively show entries labeled as “blogs.” 

 

Step 5: Create a Blog Section Utilizing News Filtering (optional). 

You can establish a specific blog page by using this filtered News web part. 

Example Configuration:  

  • Page category = Blog 

The news web part was adjusted to display solely blog entries. 
 Here we get the result: after publishing the page, only “Blog” shows; nothing else appears.

Unique banner, design, and navigation links. 

This provides a comprehensive blog experience within SharePoint Online. 

 

Step 6: Utilize the Page Category Column Across Various Sites: 

After establishing the Page Category column on one site, you are not required to set it up again on new sites. SharePoint enables the reuse of the column across different communication sites. This ensures uniformity in metadata and filters, eliminating the need to recreate the column from the beginning on each site. 

Instruction for Reusing the column 

  1. Create a site column. 
  2. Access site settings on the source site. 
  3. Select site columns. 
  4. Click create. 
  5. Label the column (e.g., Blog, Announcement). 
  6. Once saved, this column will be available for reuse. 
  7. Integrate the Site column into other sites. 
  8. Navigate to site contents in the target site. 
  9. Open site pages. 
  10. Click add column – From existing site columns. 
  11. Choose the Page Category column from the site column section. 

Now you can utilize this column for categorizing and filtering News entries on multiple sites. 

Note: When adding the column to a new site, it will inherit the options you established in the original site. 

Thursday, January 1, 2026

SharePoint 2025 in Review: How AI-Powered Collaboration, Automation, and Security Are Shaping Modern Teams in 2026

Introduction

  • The year 2025 marked a major implementation phase for Microsoft SharePoint. During this period, Microsoft rolled out AI-powered collaboration tools, low-code automation capabilities, and significant security enhancements across the platform.
  • As we move into 2026, these features are no longer new announcements or early experiments. They are actively being used by organizations to streamline daily work, improve content discovery, automate business processes, and strengthen security posture.
  • This article looks back at the key SharePoint features implemented in 2025 and explains how they are delivering real value for modern teams in 2026.
SharePoint 2025 AI Powered Collaboration, Automation and Security for modern teams

Why SharePoint Matters in 2025

  • AI That Works Like a Personal Assistant 
    • In 2025, SharePoint now comes with built-in AI that can summarize long documents, fill in missing details, and offer helpful suggestions right when you need them. It’s like having a digital helper always ready at your side.  
    • By 2026, this AI has become part of everyday workflows. Teams rely on it to reduce time spent reading long documents and to quickly understand context across sites and libraries. 
  • Beautiful, Flexible Page Designs
    • Say goodbye to boring intranet pages. With new tools like the Hero carousel and Editorial Cards, you can create pages that look modern, visually appealing, and easy to navigate.  
    • In 2026, these designs are widely adopted, helping teams communicate more clearly, highlight important content, and improve overall user engagement across internal portals.
  • Smarter Automation—No Coding Needed
    • You can now automate everyday tasks—like approvals, notifications, or content publishing—without writing a single line of code. Tools like Power Automate and Copilot Studio handle the heavy lifting for you. 
    • By 2026, many routine tasks now run automatically, allowing employees to focus on higher-value work instead of manual coordination.
  • Stronger Security for Today’s Threats
    • New updates arriving in 25H1 and 25H2 bring improved encryption, stronger malware scanning, and advanced AI-powered document analysis. Your data stays protected from evolving cyber threats. 
  • Better Integration Across Microsoft 365
    • SharePoint works more smoothly than ever with Teams, Outlook, OneDrive, and Viva. Switching between apps during your workday feels effortless.

Key Features of SharePoint 2025

  • Modern Team Sites
    • Cleaner, smarter design layouts that adjust to your needs and make teamwork more intuitive.
  • AI-Powered Document Management
    • SharePoint can now generate summaries and automatically fill in important document details, helping you avoid information overload.
  • Simple Workflow Automation
    • From approvals to e-signatures, repetitive tasks can now run on autopilot.
  • Custom Integrations
    • For organizations that need extra customization, SharePoint offers powerful integration options through the Graph API and SPFx.
  • Enhanced Security & Compliance
    • With TLS 1.3 encryption, deeper malware scanning, and Document Intelligence, your data stays safe and compliant with modern standards.

Best Practices for Modern SharePoint Users

  • Manage permissions carefully to ensure the right people have access to the right content.
  • Use AI tagging to organize documents quickly and consistently.
  • Take advantage of new web parts to design pages that support your team’s goals.
  • Automate repetitive tasks so you can focus on more important work.
  • Upgrade to SharePoint 25H1/25H2 to benefit from the latest security improvements.
  • Prepare for feature retirements like “Shared with Us” and “My Feed” to avoid disruptions later.

Security Enhancements in SharePoint 25H1 & 25H2

  1. TLS 1.3 Encryption
    • Think of this as a secure tunnel that protects your data whenever it travels between SharePoint servers. TLS 1.3 makes that tunnel even stronger and harder for attackers to break into.
  2. AMSI Malware Scanning
    • AMSI acts like a security guard for your SharePoint environment. It scans files and internet traffic for threats before SharePoint even processes them.
  3. Document Intelligence
    • This AI feature reads documents for you and highlights key points. Instead of digging through pages, you get a quick, clear summary—saving time and boosting understanding.

Conclusion

  • The features implemented throughout SharePoint 2025 have proven their value in real-world use. As organizations continue through 2026, SharePoint stands as a mature, intelligent platform that supports collaboration, automation and security at scale. 
  • With AI embedded into everyday experiences, streamlined workflows, and enterprise-grade  protection, SharePoint is no longer just a content repository. It is a foundational platform for the modern digital workplace.

Sunday, August 3, 2025

🚫 Fixing SPFx Build Error: “UglifyJs Unexpected Token” When Running gulp bundle --ship

Fix SPFx UglifyJs Unexpected Token Error in Gulp Build

Introduction : 

While packaging your SharePoint Framework (SPFx) solution using the production command: 

gulp bundle --ship

You may encounter a frustrating error message like: 

Unexpected token: name (corefeature) - SPFx while build solution

Error - [webpack] 'dist': form-web-part.js from UglifyJs
Unexpected token: name (CoreFeature) [form-web-part.js:10532,6]

This usually indicates that UglifyJS, the default minifier in SPFx, stumbled upon ES6+ syntax (e.g., class, let, const) that it does not understand. 

In this post, I will guide you through a clean and effective workaround using terser-webpack-plugin, a modern minifier that fully supports ES6+. 

Why This Error Occurs : 

  • Root Cause: UglifyJS does not support modern JavaScript (ES6+). 
  • Impact: Webpack fails during the minification process, stopping the bundle process for production. 
  • Trigger: Usage of ES6+ syntax like class, const, etc., in your SPFx web part code. 

Solution: Swap UglifyJS with Terser : 

To resolve this, we will: 

  1. Add Terser and Webpack merge dependencies. 
  2. Update gulpfile.js to override the default SPFx Webpack configuration. 
  3. Clean and rebuild your project. 

Step-by-Step Fix : 

Step 1: Install Compatible Dependencies : 

Update your package.json to include: 

"terser-webpack-plugin-legacy": "1.2.3",
"webpack-merge": "4.2.1"

Then run the following commands in your terminal: 

npm install terser-webpack-plugin --save-dev
npm install terser-webpack-plugin-legacy --save-dev
npm install webpack-merge@4.2.1 --save-dev

Optional (if Babel is needed for ES6+ transpilation): 

npm install @babel/core @babel/preset-env babel-loader --save-dev

Step 2: Update gulpfile.js :

Modify your gulpfile.js as shown below: 

'use strict';
 
const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');
const merge = require('webpack-merge');
const TerserPlugin = require('terser-webpack-plugin-legacy');
 
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);

build.initialize(gulp);
 
build.configureWebpack.setConfig({
 additionalConfiguration: function (config) {
   config.plugins = config.plugins.filter(plugin => !(plugin.options && plugin.options.mangle));
 
   return merge(config, {
     optimization: {
       minimize: true,
       minimizer: [new TerserPlugin()]
     }
   });
 }
});

This code replaces UglifyJS with Terser during the bundle phase. 

Step 3: Clean & Rebuild the Project : 

Run the following commands in sequence: 

gulp clean
gulp build --ship
gulp bundle --ship

Your project should now build successfully, free of any “unexpected token” errors from UglifyJS. 

Optional: Babel Setup (Only If Needed) : 

If your project uses newer JavaScript features not supported in your target environments, consider setting up Babel. However, for the UglifyJS error alone, swapping in Terser is typically enough. 

Conclusion : 

  • If you are getting the "UglifyJs Unexpected Token" error while bundling your SPFx project, it is because the default minifier does not support modern JavaScript. By switching to it terser-webpack-plugin, you can fix the issue and bundle your project without errors. Just follow the steps to update your packages and gulpfile, and you will be good to go!
  • If you run into any issues while implementing this solution, feel free to drop a comment. I will be happy to help. 

How to Build Branching Logic in SharePoint Online List Forms: A Step-by-Step Guide

Overview

  • Creating intuitive forms is key to driving user adoption and collecting high-quality data in SharePoint. One powerful feature that can help you achieve this is branching logic—a simple but effective way to tailor your forms based on user input. 
  • In this guide, we'll break down what branching logic is, why it's so effective, and how you can easily implement it in SharePoint Online List forms using Microsoft's modern form designer—no coding required!  
    Branching Logic in SharePoint List

What Is Branching Logic? 

  • Conditional logic, sometimes referred to as branching logic, allows your form to react dynamically to user decisions. The form can show or hide particular fields based on selection, simplifying the process and reducing pointless inputs. 

Example: 

If a user selects “Contractor” from a dropdown, fields related only to contractors will appear. Other sections, like full-time employee information, stay hidden. 

Why Use Branching Logic in SharePoint Forms? 

Key Benefits: 

  • Simplifies the User Experience 

→ Only questions that are relevant to them are displayed to users. 

  • Reduces Entry Errors 

→ Hidden fields can’t be filled incorrectly. 

  • Improves Data Quality 

→ Ensures accurate and relevant inputs. 

  • Saves Time 

→ Avoids unnecessary scrolling or input. 

Limitations: 

  • Limited Logic Scope 

→ Only supports simple conditions; complex logic (e.g., AND/OR combinations) requires Power Apps. 

  • No Backward Conditions 

→ You can't reference future responses to adjust earlier fields. 

  • Basic Customization 

→ Visual layout and advanced actions are limited in the built-in SharePoint form designer. 

Use Case: IT Helpdesk Ticket Form 

Let’s say you’re building an IT helpdesk form. Based on the selected Issue Type, you want to display only the relevant fields: 

  • Hardware 

→ Show Device Type and Serial Number 

  • Software 

→ Show Software Name and Version 

  • Network 

→ Show Location and Network Issue Description 

Always show: Priority and Description 

How to Set Up Branching Logic in SharePoint Online List Forms 

🔹 Step 1: Prepare Your SharePoint List 

Make a SharePoint list using the columns listed below: 

  • Issue Type (Choice: Hardware, Software, Network) 
  • Device Type (Choice) 
  • Serial Number (Single line text) 
  • Software Name (Single line text) 
  • Version (Single line text) 
  • Location (Choice) 
  • Network Issue Description (Multiline text) 
  • Priority (Choice) 
  • Description (Multiline text) 

Note: Define all necessary columns before customizing your form. 

🔹 Step 2: Launch the Modern Form Designer 

  1. Go to your SharePoint list. 
  2. Click on Forms in the command bar, as below:
    SharePoint List - Click on Forms
  3. Either pick New or Update an existing form.  

Either Pick New or Update existing Form

🔹 Step 3: Apply Branching Logic 

  • Inside the form builder, edit your form's Title, Logo, and Instructions if needed.
    Appropriate assign Title, Logo, and Description

  • To customize certain fields, use the pencil icon.
  • Click "Branching" from the top navigation.
    Branching Icon to redirect in Branching

  • For each condition: Select the Issue Type field. 
  • Add rules like:
  → If Hardware, show Device Type and Serial Number.
  → If Software, show Software Name and Version
  → If Network, show Location and Network Issue Description
Define rules
  • Use the Revert icon if you want to reset to the default form settings.                 

🔹 Step 4: Customize the Appearance 

  • On the right-side panel, click Customize.  
    Customize form theme using panel
            → A background theme 
            → Custom submission/closure messages 
            → Start/end availability dates 
            → Email notifications 
Customise Settings for Notify, response, Start and end date of form as well as messages

🔹 Step 5: Test the Logic 

Before rolling out the form: 

  • Preview it by clicking "Preview". 
  • Choose different Issue Type values. 
  • Verify that only the correct fields appear for each option. 
    Prereview of your form

 Test thoroughly to avoid logic gaps or broken paths. 

🔹 Step 6: Share Your Form 

Once you're satisfied: 

  • Click Save (auto-save is usually on). 
  • Use the Copy Link option to distribute your form to users. 
    Copy URL and Send Form

Pros and Cons of SharePoint Branching Logic 

Pros 

Cons 

Improves form usability by removing clutter 

 Doesn’t support nested or multi-condition logic 

Minimizes user confusion and errors 

 May not function perfectly on mobile 

Saves user time with smart field skipping 

 Advanced needs require Power Apps 

Easy to implement with zero code 

 Limited layout customization 

Tips for Effective Use of Branching Logic 

🔹 Keep it simple: Don’t overwhelm users—limit each field to 2–3 branching rules. 
🔹 Start with a flowchart: Visualize your form logic on paper first. 
🔹 Test all logic paths: Ensure no combination of responses causes a dead end. 
🔹 Upgrade to Power Apps: For calculations, advanced rules, or enhanced UI, Power Apps is your best friend. 

🔹 Add help text: Adding brief clarifications next to fields will help users understand them better. 

Final Thoughts 

  • Branching logic is a simple yet powerful way to elevate your SharePoint Online forms. By dynamically showing or hiding fields, you enhance usability, reduce errors, and make your forms much more efficient. 
  • So next time you're building a SharePoint list form, don’t settle for static input. Leverage branching logic to craft smarter, cleaner, and more user-friendly experiences. 

Setting Up CI/CD in Power Platform Using Power Platform Pipelines: A Step-by-Step Guide

Overview   This blog provides a comprehensive, step-by-step guide to set up CI/CD pipelines in Power Platform using Power Platform Pipeline...