New answers tagged

0

If you simply retrieve the lists using SharePoint Rest API, I suggest using HttpClient instead. It's the newest/modern API that supports asynchronous http requests. Your HttpWebRequest may have involved some disposing issue but I can't prove. Try this: using (var httpClient = new HttpClient()) { httpClient.DefaultRequestHeaders.Add("Accept", "...


1

You can use the getBlob method to get the image bytes as blob and then bind that to the HTML element somewhat as below. If you know a different way, you can use that as well: private getGroupPhoto(groupId:string):Promise<any>{ return this.props.graphContext.groups.getById(groupId).photo.getBlob().then((k)=>{ let groupPhotoUrl = window.URL ||...


Top 50 recent answers are included