Giter VIP home page Giter VIP logo

reactoutlook2sp_spfx's Introduction

outlook-2-sp-spfx

Summary

This SPFx Outlook Add-In lets you browse your OneDrive, joined Teams or Groups and select a folder to save your complete mail in there. This sample shows you working with the current Office context and receive information on currently selected mail from there. Furthermore it shows you how to retrieve a complete mail as a mimestream via Microsoft Graph and finally two file operations with Microsoft Graph as well:

  • Writing normal files smaller 4MB
  • Writing big files with an UploadSession when bigger than 4MB

outlook-2-sp-spfx in action

WebPartInAction

A detailed functionality and technical description can be found in the author's blog series

Used SharePoint Framework Version

drop

Applies to

Solution

Solution Author(s)
outlook-2-sp-spfx Markus Moeller (@moeller2_0)

Version history

Version Date Comments
1.0 January 29, 2020 Initial release
1.1 April 06, 2020 Open extensions to store metadata added

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
  • in the command line run:
    • restore dependencies: npm install From here you can also follow the deployment steps from the official Microsoft Tutorial
    • build solution gulp build --ship
    • bundle solution: gulp bundle --ship
    • package solution: gulp package-solution --ship
    • locate solution at .\sharepoint\solution\outlook-2-sp-spfx.sppkg
    • upload it to your tenant app catalog
    • Go to your Outlook Web Access and selct a mail
    • Choose ... and "Get Add Ins"
    • Choose My Add-ins from left menu
    • Choose *Add from file... under the Custom add-ins
    • Upload the manifest xml file from \officeAddin folder
    • Click Install on the warning message to get your add-in available on the tenant
    • Close the add-in window by clicking X on the top-right corner
    • Activate again the context menu from [...] and choose "Copy to SharePoint" to activate the add-in in your inbox

Features

This Outlook Add-In shows the following capabilities on top of the SharePoint Framework:

  • Select Office context and attributes of currently selected mail
  • Use Microsoft Graph to retrieve joined Groups and Teams
  • Use Microsoft Graph to retrieve folders and subfolders for OneDrive or Teams/Group drives
  • Use Microsoft Graph to retrieve complete mail mimestream by given ID
  • Use Microsoft Graph to save normal or big files (in size bigger 4MB) with different concepts
  • Optionally store metadata of save operation to copied mail with open extension (configure line 15 Outlook2SharePoint.tsx)

reactoutlook2sp_spfx's People

Watchers

James Cloos 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.