SharePoint Generate Thumbnail to Documents

 Thank you this blog


code:


                img = location.origin + 
                        '/_api/v2.0/sharePoint:' + 
                        (ctx.CurrentItem.Path.replace(location.origin, '')) + 
                        ':/driveItem/thumbnails/0/large/content?preferNoRedirect=true';

Comments

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

Asp.Net Ending Response options, Response.End() vs CompleteRequest()

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem