Skip to content

Latest commit

 

History

History
 
 

react-recently-used-documents

Recently Used Documents web part

This web part provides you the ability to display a list of a particular user's recently used documents on a web page. The web part may be configured to display a pre-defined number of documents at a time. This web part is powered by the Microsoft Graph.

Recently Used Documents

How to use this web part on your web pages

  1. Place the page you want to add this web part to in edit mode.
  2. Search for and insert the Recently Used Documents web part.
  3. Configure the web part to update its properties.

Configurable Properties

The Recently Used Documents web part can be configured with the following properties:

Label Property Type Required Description
Recent Documents title string no The web part title, editable inline with the web part itself
Specify the number of documents to show nrOfItems number no Default: 3 - The number of documents to show

Used SharePoint Framework Version

drop

  • Only supported in SharePoint Online due to dependency on the Microsoft Graph APIs

Applies to

Prerequisites

none

Solution

Solution Author(s)
solution/src/webparts/recentlyUsedDocuments Elio Struyf (@struyf)
react-recently-used-documents Sébastien Levert (@sebastienlevert)

Version history

Version Date Comments
1.0 March 28, 2018 Initial release
2.0 December 29, 2019 v2.0

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
  • Move to solution folder
  • in the command line run:
    • npm install
    • gulp serve

Include any additional steps as needed.

Features

Description of the web part with possible additional details than in short summary. This Web Part illustrates the following concepts on top of the SharePoint Framework:

  • Using Microsoft Graph from the web parts
  • Hosting SharePoint Framework components as Microsoft Teams tabs
  • Using app pages in SharePoint Online