Skip to content

a1mery/pnp-modern-search-like-component

Repository files navigation

PnP Modern Search - Like component

Summary

Custom web component for the PnP Modern Search (v4) solution. This component adds a like button on search results displayed by the Search Results Web Part.

DemoImage

DemoGif

Used SharePoint Framework Version

version

Applies to

Prerequisites

PnP Modern Search (v4) solution must be installed in your tenant.

Solution

Solution Author(s)
pnp-modern-search-like-component a1mery

Version history

Version Date Comments
1.0 November 08, 2024 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

  • Clone this repository

  • Ensure that you are at the solution folder

  • in the command-line run the follwing to build the component:

    • npm install
    • gulp bundle --ship
    • gulp package-solution --ship
  • Deploy the component in your tenant ()

  • Register the component with your Search Results Web Part: Register your extensibility library with a Web Part

Features

This component adds a like button on search results displayed by the Search Results Web Part. For the first version, only pages are supported.

This extension illustrates the following concepts:

  • Use of a custom web component to extend the PnP Modern search (v4) solution
  • Use PnPjs to like/unlike content

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published