public bool UploadAttachments(string filesSourcePath, string listName, string jobID, string activityName, string upLoaderName, string type = "")
 {
     _logger.LogDebug($"UploadAttachments attachement for job Id : {jobID} and activity : {activityName}");
     SharePointHelpClasses.SharePointClientHandler spClient = new SharePointHelpClasses.SharePointClientHandler(_configuaration.SpSiteRoot, _configuaration.AttachmentsSiteName, listName, null);
     spClient.uploadMultipleFiles(filesSourcePath, jobID, upLoaderName, activityName, type);
     _logger.LogDebug($"Finish Upload attachement for job Id : {jobID} and activity : {activityName}");
     return(true);
 }
Ejemplo n.º 2
0
 public static bool uploadAttachments(String filesSourcePath, String listName, String jobID, String activityName, String upLoaderName, string type = "")
 {
     SharePointHelpClasses.SharePointClientHandler spClient = new SharePointHelpClasses.SharePointClientHandler(spSiteRoot, siteName, listName, null);
     spClient.uploadMultipleFiles(filesSourcePath, jobID, upLoaderName, activityName, type);
     return(true);
 }