How to get document preview image using SharePoint CSOM
问题 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