GithubHelp home page GithubHelp logo

ahmadiramin / spfileupload Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 1.79 MB

SharePoint Framework web part to upload files to libraries or as item attachments

License: MIT License

JavaScript 0.67% TypeScript 71.97% CSS 27.36%

spfileupload's Introduction

React SPFileUpload client-side web part

Summary

Sample file upload web part allowing users to upload multiple files to a document library or as item attachments.

File upload web part built on the SharePoint Framework using React

Used SharePoint Framework Version

SPFx v1.4

Solution

Solution Author(s)
SPFileUpload Ramin Ahmadi

Version history

Version Date Comments
1.0.0 February 14, 2018 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.

Prerequisites

  • Site Collection created under the /sites/ Managed Path
  • Existing document library or a list

Features

This project contains sample client-side web parts built on the SharePoint Framework using React illustrating working with file upload web part. This sample illustrates the following concepts on top of the SharePoint Framework:

  • using React for building SharePoint Framework client-side web parts
  • using React components for building file upload web part
  • using DropzoneJs for uploading files
  • uploading files to a document library
  • uploading files as item attachments by getting the item ID from the query string parameter
  • uploading files using RestAPI
  • drag and drop feature for uploading files
  • ability to remove uploaded files
  • ability limit users to upload accepted file types

spfileupload's People

Contributors

ahmadiramin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

seemasinghpskm

spfileupload's Issues

no default export

When i run the project Gulp Serve I get the following error. Any ideas?

SPFileUpload-master/node_modules/react-dropzone-component/typescript/types"' has no default export.

Example with Auto Process False

Could you add an example with the autoProcessQueue: false. I can't figure out how to get to the myDropzone object from a button click.

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.