An API that connects multiple Microsoft services, enabling data access and automation across platforms
Graph API - Driver Item Preview
Tejendra Prasad Patel
111
Reputation points
I am trying to preview XLS file - but its not working in browser.
Want to know what are the File Types are supported in IE, Edge, Firefox, Chrome browsers
I get below error in just simple HTML Iframe preview
Sorry, something went wrong
Item does not exist. It may have been deleted by another user.
TECHNICAL DETAILS
GO BACK TO SITE
var previewFile = graphServiceClient.Sites[siteId].Drive.Items[uploadResult.ItemResponse.Id].Preview()
.Request(queryPreviewOptions)
.PostAsync();
var previewURL = previewFile.GetUrl;
using the previewURL in HTML Iframe.
But for other files XLSX, PPTX, DOCX are working....
Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Graph
Sign in to answer