Coder Social home page Coder Social logo

rakeshsharepointdeveloper / spfx-react-fabric-trendinginthissite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from waldekmastykarz/spfx-react-fabric-trendinginthissite

0.0 0.0 0.0 219 KB

Sample SharePoint Framework Client-Side Web Part built using React showing documents trending in the current site.

JavaScript 2.41% TypeScript 94.72% CSS 2.87%

spfx-react-fabric-trendinginthissite's Introduction

Trending in this site

Sample SharePoint Framework Client-Side Web Part built using React showing documents trending in the current site.

Trending in this site Web Part in the SharePoint Workbench

Prerequisites

  • SharePoint Online tenant with Office Graph content
  • Site Collection created under the /sites/ Managed Path

Minimal Path to Awesome

  • clone this repo
  • $ npm i
  • $ gulp serve --nobrowser
  • create a copy of the ./temp/workbench.html file and change its extension to .aspx
  • in the contents of the workbench.aspx file change the URL of the webAbsoluteUrl property to the URL of your site, eg. https://contoso.sharepoint.com/sites/my-team
  • upload the workbench.aspx file to the Document Library in your site
  • navigate to the workbench page uploaded to your SharePoint site, ie. https://contoso.sharepoint.com/sites/my-team/documents/workbench.aspx

Features

The Trending in this site Client-Side Web Part is built on the SharePoint Framework using React and uses the Office UI Fabric React for showing document cards.

This Web Part illustrates the following concepts on top of the SharePoint Framework:

  • using React for building SharePoint Framework Client-Side Web Parts
  • using Office UI Fabric React components for building user experience consistent with SharePoint and Office
  • communicating with SharePoint using its REST API
  • communicating with the Office Graph via the SharePoint Search REST API
  • passing Web Part properties to React components
  • using ES6 Promises with vanilla-JavaScript web requests

spfx-react-fabric-trendinginthissite's People

Contributors

waldekmastykarz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.