Skip to content

PictureInformatica/demo-sharepoint-upload

Repository files navigation

License: GPL v3

Demo application for Microsoft Graph SDK Sharepoint file upload

Description

This sample is a working application to test and demonstrate how to upload files to a sharepoint site using the Graph SDK.

Requirements

Configuration

The application.conf needs to be populated with information so the application can connect to the mailbox:

Notes

  • This demo is using client_credentials grant type.

Usage

  • Clean

    ./gradlew clean
    
  • Run

    ./gradlew run
    
  • Create distribution (on build/install)

    ./gradlew installDist
    
  • Create distribution zip (on build/distributions)

    ./gradlew distZip
    
  • Run from build/install

    ./demo-sharepoint-upload.bat file-to-upload
    

    or

    java -jar lib/demo-sharepoint-upload-0.1.jar file-to-upload
    

When the application is executed, if an application.conf doesn't exist, it will be created from an internal template. See Configuration.

License

Copyright © 2023, Picture Soluções em TI

This demo application is licensed under GPLv3, see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages