GithubHelp home page GithubHelp logo

sp365's Introduction

SP365

Component Library to Use Sharepoint 365 in Bizagi

Introduction

This component library enables your processes to synchronize your Bizagi files with your Sharepoint 365, at the moment this provides these three options:

  • Publish Files
  • Delete Files
  • Create Folders

Installation

Installing this component library is simple, follow these steps:

  1. Download the 3 DLLs from the https://github.com/crossleyjuan/SP365/releases/download/Release_1_0/Release.1.0.zip and uncompress them in a local folder.
  2. The file SP365.dll is the component library that you will need to register in the Component Library panel, as explained here: http://help.bizagi.com/bpmsuite/en/enterprise__net_example.htm
  3. The dlls Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll comes from Microsoft and they need to be copied to the bin folder of the web application, they dont require registration in the Studio but they will need to be uploaded manually in order for this to work.

Usage

Using the dll is quite simple, here are the 3 supported methods:

Upload a file from bizagi data model to SP365:

    var website = "http://mysharepoint/repository";
    var scontent = <customer.picture[1].data>;
    var file = <customer.picture[1].fileName>;
    var user = "my_sp_user";
    var password = "my_sp_pass";
    var parentFolder = "Documents";
    var folder = "innerfolder";
    BizagiCL.SP365.PublishFile(website, scontent, file, user, password, parentFolder, folder);

Delete a file:

    var website = "http://mysharepoint/repository";
    var file = <customer.picture[1].fileName>;
    var user = "my_sp_user";
    var password = "my_sp_pass";
    var parentFolder = "Documents";
    var folder = "innerfolder";
    BizagiCL.SP365.DeleteFile(website, file, user, password, parentFolder, folder);

Create a folder:

    var website = "http://mysharepoint/repository";
    var file = <customer.picture[1].fileName>;
    var user = "my_sp_user";
    var password = "my_sp_pass";
    var parentFolder = "Documents";
    var folder = "innerfolder";
    BizagiCL.SP365.CreateFolder(website, user, password, parentFolder, folder);

Support

If you have any suggestions, changes or want to include new features, that's easy... create a fork of this project, perform your changes and send a pull request, we will incorporate your changes in this repo to keep growing the library.

sp365's People

Contributors

crosstantine avatar

Watchers

 avatar  avatar  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.