Skip to content

Latest commit

 

History

History
executable file
·
103 lines (64 loc) · 3.65 KB

File metadata and controls

executable file
·
103 lines (64 loc) · 3.65 KB
page_type products languages extensions
sample
office-sp
javascript
typescript
contentType technologies createdDate
samples
SharePoint Framework
10/1/2017 12:00:00 AM

Hub and Link Web Parts

Summary

This solution contains the following web parts:

Hub Links

A list of links that can either be set within the properties of the web part or in a SharePoint List

Icon Layout:

Hub Links Icons Layout

List Layout:

Hub Links List Layout

Grouped Layout:

Hub Links Group Layout

Featured Content

This web part is being deprecated in liu of using the Out of the Box Quick Links web part.

Tile links that enable users to show links with images stored within the web part or in a SharePoint list

Default Layout:

Featured Content Default Layout

Default Layout Small Column:

Featured Content Single Column Layout

Stacked Layout:

Featured Content Stacked Layout

Box Button

This web part is being deprecated in liu of using the Out of the Box Quick Links web part.

Button links that can be stored within the web part or in a SharePoint list

Box Button

Hub Template

A handlebars template web part that enables highly customized UI code to be applied to SharePoint list items.

The Hub Template web part allow users to add JavaScript into the page. Carefully consider the implications of this capability, and restrict creation and updating of this part to specific site collections and audiences. The Hub Template is the only web part in the group that allows script injection

Hub Template

Used SharePoint Framework Version

drop

Applies to

Version history

Version Date Comments
1.0 September 27, 2017 Initial release
1.1 April 12, 2018 Updated to use CDN and to use SPFx v1.4.1
3.0 August, 2020 Update to SPFx v1.10.0, Update PnPJS to 2.x Update, FontAwesome to 5.x, Fix bug with grouped view doubling groups on non-list backed HubLinks web part, Deprecate BoxButton and FeaturedContent web parts to promote OOB Quick Links web part which replaces functionality, Update logging to move webpart-logging-.config file to Tenant App Property "LinksHandlebarsConfig"
4.0 July, 2021 Update to SPFx v1.12.1, Update PnPJS to 2.x Update, Update polyfill libraries. Bug fix for inability to change order of Hub Links Web Part items.

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

  • Clone this repository
  • (Optional) Configure the web part usage logging - /src/utilities/webpartlogger
  • (Optional) Configure the approved image tab for the link picker - /src/components/LinkPickerPanel
  • in the command line run:
    • npm install
    • gulp serve