Beispiel #1
0
 public string SearchSharepointSite(SharepointRequest request)
 {
     try
     {
         if (request == null)
         {
             throw new Exception("Request cannot be null");
         }
         return(SPBrowse.SearchSharepointSite(request));
     }
     catch (Exception ex)
     {
         _logger.Error("SearchSharepointSite--", ex);
     }
     return("{}");
 }
Beispiel #2
0
 public string GetAllFieldsByContentId(SharepointRequest request)
 {
     try
     {
         if (request == null)
         {
             throw new Exception("Request cannot be null");
         }
         return(SPBrowse.GetAllFieldsByContentId(request));
     }
     catch (Exception ex)
     {
         _logger.Error("GetAllFieldsByContentId--", ex);
     }
     return("{}");
 }