office365

How to get document preview image using SharePoint CSOM

ぃ、小莉子 提交于 2021-02-10 12:34:07
问题 I would like to programmatically retrieve thumbnails of documents from SharePoint. What I'm trying to do is the following: document.GetImagePreviewUrl(width, height, clientType); This just returns an empty ClientResult . I am not sure what to enter as clientType value. I have also tried to use this method programmatically (by using WebClient and downloading the file). But that just returns a 403 response. The possible solutions I see here are the following: Figure out what to enter as

Excel VBA running extremely slow after upgraded to Office365 ProPlus

China☆狼群 提交于 2021-02-10 06:38:10
问题 I paste part of the code as below. This code is to parse a JSON string got from HTTP request, there's no worksheet/workbook operation at all. Before office upgraded to office365 ProPlus, it's quite efficient. But after upgrade, a json which could be parsed less than 2 seconds, costs several minutes. Personally I don't understand the root cause. Code source: @Tim Hall https://github.com/VBA-tools/VBA-JSON/blob/master/JsonConverter.bas ' ============================================= ' ' Public

Attachments with the ReferenceAttachment type ( ATTACH_BY_WEB_REF) from O365 mailbox are not returned using EWS

流过昼夜 提交于 2021-02-08 11:34:36
问题 I have a mailbox on Exchange 365 and when I share a picture from OneDrive using the Share as OneDrive Link , then the attachment is not returned using the latest EWS API. The list of attachments is simple empty although the HasAttachments property is true. The fallback for this type of attachment (ATTACH_BY_WEB_REF) should be a FileAttachment but the list is empty. I did some tests with both MFCMApi and EWSEditor and here are the results: EWSEditor (in case when the file is shared as Onedrive

How to use automatically update formula without dragging

£可爱£侵袭症+ 提交于 2021-02-08 08:57:17
问题 I have a table in Sheet1 that looks like this **Sport** Basketball Basketball Basketball Volleyball Volleyball Football Football Football Football Football Football Hockey Hockey Hockey I have a table in Sheet2 that looks like: SPORT Basketball Volleyball Football Hockey SCORE 3 2 6 3 I applied the following formula in B1: =TRANSPOSE(UNIQUE(FILTER(Sheet1!$A$2:$A$15,Sheet1!$A$2:$A$15<>""))) formula in B2: =COUNTIF(Sheet1!$A$2:$B$15,Sheet2!B1) However when the column in Sheet1 is updated. For

Add-ins are disabled while creating a meeting in office 365 group calendar in outlook 2016

一世执手 提交于 2021-02-07 19:14:36
问题 I am following this Article to create a new meeting in Office 365 group calendar using Outlook 2016(on Windows 10), But all the add-ins are disabled in outlook 2016 native when using group calendar. The add-ins works fine in web outlook for group calendar and for regular user calendar in outlook 2016 native as well. Our applications helps to create structured agenda for a meeting but since the add-in is disabled we cant use the app in group calendar using Outlook 2016 native. Here is the

Upload file to Office 365 Onedrive Business account using PHP-Curl

怎甘沉沦 提交于 2021-02-07 10:28:09
问题 I'm trying to upload a JSON file to a new folder in OneDrive Business AC account using cURL. While uploading, I am getting the following error: HTTP status code not expected - got - 401 Here is my code: $uri = "https://graph.microsoft.com/v1.0/me/drive/root/new/sample.json/content?access_token=accesstoken"; function curl_put($uri, $fp) { $output = ""; try { $pointer = fopen($fp, 'r+'); $stat = fstat($pointer); $pointersize = $stat['size']; $ch = curl_init($uri); curl_setopt($ch, CURLOPT

Upload file to Office 365 Onedrive Business account using PHP-Curl

我只是一个虾纸丫 提交于 2021-02-07 10:27:02
问题 I'm trying to upload a JSON file to a new folder in OneDrive Business AC account using cURL. While uploading, I am getting the following error: HTTP status code not expected - got - 401 Here is my code: $uri = "https://graph.microsoft.com/v1.0/me/drive/root/new/sample.json/content?access_token=accesstoken"; function curl_put($uri, $fp) { $output = ""; try { $pointer = fopen($fp, 'r+'); $stat = fstat($pointer); $pointersize = $stat['size']; $ch = curl_init($uri); curl_setopt($ch, CURLOPT

Using Microsoft (Office) 365 tools in Visual Basic 6.0

纵饮孤独 提交于 2021-02-05 06:01:09
问题 I'm developing an application written in Visual Basic 6.0 that supports exporting listViews to Microsoft Excel documents. Everything works perfectly fine if a user has an older version of Microsoft Office installed. Now I want to add support for users who only have Microsoft/Office 365 on their systems. I've googled my way into depression in the past couple of days because I don't know much (or anything really) about dll/ocx files or registries. I'm not even sure if something like this can

ThisWorkbook Workbook_Open fails to show userform if Excel or Word already open

社会主义新天地 提交于 2021-02-04 06:24:59
问题 I use Office365. I have an Excel file called Test.xlsm which contains a userform named frmMain. In the ThisWorkbook object and then in the Workbook_Open event I have the following code: Private Sub Workbook_Open() Worksheets("Main").Activate frmMain.Show End Sub It is meant to launch (show) the frmMain userform every time the Test.xlsm file opens. However, if another Excel or Word file is already open, the frmMain user form fails to launch/show. Is there a way to have an Excel or Word file

Create a mailing distribution group by outlook office365 API REST

故事扮演 提交于 2021-01-29 21:43:05
问题 I have been struggling myself last two weeks trying to create a mailing distribution group implementing Office365 API REST, the thing is that I am developing an integration to a interactive agent and I am working over the platform of a company, I am not allowed to make some coding. So, basically I need to figure it out with my account of Office 365 and potential APIs REST requests (endpoints, parameters, etc).
 
 
 I have found interesting endpoints (just required to be logged on) as: