Share via

We are using sharepoint online REST API getFileByServerRelativePath()/listItemAllFields

Anonymous
2023-10-12T10:38:50+00:00

We are using sharepoint online REST API getFileByServerRelativePath()/listItemAllFields and expecting to return the ServerRedirectedEmbedUrl , It works fine for docx,xlsx but not returning for .xls,.csv , is there any limitation for old versions

Microsoft 365 and Office | SharePoint | Other | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2023-10-12T12:07:59+00:00

Hey there, my name is Ajibola and I'm excited to help you today!

I understand that you are using the SharePoint Online REST API to get the ServerRedirectedEmbedUrl property for different file types, but you are not getting it for .xls and .csv files. This is a known limitation of the SharePoint Online REST API, as it only returns the ServerRedirectedEmbedUrl property for files that can be opened in Office Online applications, such as Word, Excel, PowerPoint, and OneNote. However, .xls and .csv files are not supported by Office Online, and they need to be downloaded or opened in the desktop version of Excel. Therefore, the SharePoint Online REST API does not return the ServerRedirectedEmbedUrl property for these file types.

If you have any further questions or need additional assistance, please feel free to ask. I'm here to help!

Give back to the Community. Help the next person with this issue by indicating if this reply solved your problem. Click Yes or No below.

Kind regards

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful