BUG 0000 Feature: Sharepoint Triggers

Included new library to Trigger wizard that wraps common function to work with documents in sharepoint
This commit is contained in:
Hugo Loza
2011-07-04 17:09:56 -04:00
parent 80728423c4
commit e3a0aa7a86
2 changed files with 22 additions and 38 deletions

View File

@@ -19,7 +19,7 @@
/**
* Sharepoint Triggers that allow ProcessMaker to perform common DWS actions
* @class pmTrSharepoint
* @name Sharepoint DWS Triggers
* @name Sharepoint DWS Triggers v. 0.1
* @icon /images/triggers/sharepoint.gif
* @className class.pmTrSharepoint.pmFunctions.php
*/
@@ -43,7 +43,7 @@
*
*/
function createDWS($sharepointServer, $auth, $name="", $users="", $title="", $documents="", $result="") {
print "Trigger: createDWS";
//print "Trigger: createDWS";
require_once(PATH_CORE. 'classes' . PATH_SEP.'triggers' . PATH_SEP . 'class.pmTrSharepoint.php');
$pmTrSharepoint = new pmTrSharepointClass($sharepointServer, $auth);
$beforeResult = $pmTrSharepoint->createDWS($name, $users, $title, $documents);