- Notifications
You must be signed in to change notification settings - Fork0
crossleyjuan/SP365
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Component Library to Use Sharepoint 365 in Bizagi
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
Installing this component library is simple, follow these steps:
- Download the 3 DLLs from thehttps://github.com/crossleyjuan/SP365/releases/download/Release_1_0/Release.1.0.zip and uncompress them in a local folder.
- 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
- 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.
Using the dll is quite simple, here are the 3 supported methods:
Upload a file from bizagi data model to SP365:
varwebsite="http://mysharepoint/repository";varscontent=<customer.picture[1].data>;varfile=<customer.picture[1].fileName>;varuser="my_sp_user";varpassword="my_sp_pass";varparentFolder="Documents";varfolder="innerfolder";BizagiCL.SP365.PublishFile(website,scontent,file,user,password,parentFolder,folder);
Delete a file:
varwebsite="http://mysharepoint/repository";varfile=<customer.picture[1].fileName>;varuser="my_sp_user";varpassword="my_sp_pass";varparentFolder="Documents";varfolder="innerfolder";BizagiCL.SP365.DeleteFile(website,file,user,password,parentFolder,folder);
Create a folder:
varwebsite="http://mysharepoint/repository";varfile=<customer.picture[1].fileName>;varuser="my_sp_user";varpassword="my_sp_pass";varparentFolder="Documents";varfolder="innerfolder";BizagiCL.SP365.CreateFolder(website,user,password,parentFolder,folder);
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.
About
Component Library to Use Sharepoint 365 in Bizagi
Topics
Resources
Stars
Watchers
Forks
Packages0
No packages published