WeatherNow: Create an SPFx Web Part
SharePoint Online
Feb 15, 2026 1:03 AM

WeatherNow: Create an SPFx Web Part

by HubSite 365 about Microsoft

Software Development Redmond, Washington

Microsoft guide to SPFx SharePoint web part with Power Automate and custom connector for real time weather

Key insights

  • WeatherNow SPFx web part: a client-side SharePoint component that shows live weather inside SharePoint pages.
    It combines a Power Automate flow and a custom connector to fetch data from a weather API like the OpenWeather service.
  • Key features: dynamic location awareness that detects user location, real-time updates, and unit switching between metric and imperial.
    The web part also displays sunrise/sunset, wind, humidity, and current condition indicators.
  • Architecture and data flow: the SPFx web part calls an HTTP-triggered flow in Power Automate which uses a custom connector to wrap the weather API.
    The web part renders returned JSON in the UI using React or plain JavaScript.
  • Deployment and testing: scaffold the project with the Yeoman generator, run npm install and gulp serve locally, then create production bundles with gulp bundle and package the solution.
    Upload the .sppkg to the tenant App Catalog to make the web part available across sites.
  • Benefits and use cases: ideal for personalized intranets that need location-aware info, it uses low-code Power Platform elements for easier integration and keeps full SPFx compatibility with modern SharePoint sites.
    This approach reduces reliance on paid third-party web parts and simplifies customization.
  • Best practices: load external libraries carefully, support scheduled updates (hourly) plus manual refresh, and expose settings in the property pane for customization.
    Keep the solution updated for security patches and test connector permissions to protect tenant data.

SharePoint Online - WeatherNow: Create an SPFx Web Part

Keywords

WeatherNow SPFx, SPFx web part tutorial, SharePoint Framework weather web part, SPFx React weather component, Weather API SharePoint integration, SPFx development guide, Deploy SPFx web part, Modern SharePoint weather web part