Skip to content

Instantly share code, notes, and snippets.

Paweł Hawrylak phawrylak

Block or report user

Report or block phawrylak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@phawrylak
phawrylak / ThumbnailService.ts
Created Mar 1, 2018
Example of getting OneDrive thumbnail URL for SharePoint List Item using method from modern list tile view
View ThumbnailService.ts
import { Web } from "sp-pnp-js";
export default class ThumbnailService {
public async getThumbnailUrl(
webUrl: string,
listId: string,
listItemId: number,
width: number,
height: number
): Promise<string> {
You can’t perform that action at this time.