23-08-22 01:48 PM
23-08-22 01:58 PM
23-08-22 02:07 PM
23-08-22 02:24 PM
23-08-22 02:35 PM
Thanks for this Eric, and good news about the Outlook connector. I'll keep my eyes peeled for that one.
As for the Excel documentation, I had looked at that, but I think it's just the last couple of parameters there that have confused me - For Workbook ID, I've navigated to the relevant folder using the SharePoint connector and have grabbed the 'id' value from that - so essentially, I'm treating 'Workbook ID' as 'File ID' - is that correct? Also, for the 'Type' parameter, I'm unsure what those values pertain to - whenever I try any of those suggested values (and assuming Workbook ID = File ID), stepping over the action returns this error message:
Internal : Unexpected error Cannot execute action "Create Session" because an error occurred while compiling custom code. Errors were found in the following locations:
Shared code
EDIT: Sorry to 'cross the streams', as it were, but I'm currently trying to configure 'Microsoft Graph - Sharepoint Upload Session' from the DX, but am getting a Compiler error (screenshot below). I've had a similar issue before, potentially down to the version of .NET framework we're running on. Am I OK to strip the dollar sign from this code? Only that when I do remove the character, I'm consistently presented with the following error message in the Response Body of the action 'Create Upload Session':
{"error":{"code":"BadRequest","message":"Resource not found for the segment '{folderPath}'.","innerError":{"date":"2022-08-23T14:19:44","request-id":"2e52c20c-e415-4092-a4fb-c0e7b769057d","client-request-id":"2e52c20c-e415-4092-a4fb-c0e7b769057d"}}}
------------------------------
John Hammond
------------------------------
23-08-22 03:58 PM
// Example 1: Concatenating parameters.
var url = "https://graph.microsoft.com/v1.0/sites/" + siteId + "/drives/" + driveId + "/" + folderPath + "/" + fileName + ":/createUploadSession";
// Example 2: String.Format()
var url = "https://graph.microsoft.com/v1.0" + String.Format("/sites/{0}/drives/{1}/{2}/{3}:/createUploadSession", siteId, driveId, folderPath, fileName);
Regarding the Type parameter in the Excel connector, this refers to whether you're trying to work with a spreadsheet that stored in a user drive, group drive, or SharePoint drive. If you take a look at the Microsoft Graph API you'll see they expose multiple endpoints for just about every action depending on the data you're trying to work with. So, as an example, if you wanted to worked with an Excel spreadsheet that was stored on a SharePoint site you would set Type to site. What this ends up dong behind the scenes is changing the underlying URL path that's used in the REST request.
Cheers,
24-08-22 12:59 AM
26-08-22 08:10 AM
26-08-22 08:12 AM
26-08-22 08:45 AM