Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 2.67 KB

README.md

File metadata and controls

68 lines (44 loc) · 2.67 KB

sp-important-news

Summary

Uses SPFx application customizer page placeholders to provide a Breaking News ticker at the top of a SharePoint site.

sp-news-ticker

Used SharePoint Framework Version

version

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

Create SharePoint list on the target site called "Breaking News" and add a "Link" (single line of text) field. Use the default "Title" field for the content of the news item. The Link field allows you to add a click-through for the user.

Solution

Solution Author(s)
newsTicker MRS Company Ltd

Version history

Version Date Comments
1.0 November 12, 2022 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

git clone { repo } # Clone repository
cd { repo } # Change to repo directory
npm install # Install dependencies
gulp serve # Start dev environment (remember to change url in /config/serve.json)
gulp build # Build solution
gulp bundle --ship # Bundle solution for prod
gulp package-solution --ship # Create sppkg file

Then upload /sharepoint/*.sppkg to your App Catalog.

Features

Demonstrates the following concepts:

  • Pull list items from SP REST API.
  • Use page placeholders in Application Customizer with SPFx.

References