Piyush
  • Member for 6 years, 7 months
  • Last seen more than 1 year ago
How to group distinct values from a list using odata rest api
4 votes

I know it's a relatively old post but, for anyone who's still looking for an answer on this, querying for both grouping and aggregations(Totals) is supported in REST. Following are the two links for ...

View answer
OData $expand not working for User Field in SharePoint App
Accepted answer
0 votes

The issue was that for the method items, used in the given URL, I was sending the type as POST instead of GET in my app! However, from the Content Editor Web Part, I am not setting this value so by ...

View answer
Unlocking checked out file
0 votes

You can directly get a file using serverRelativeUrl in PowerShell. $web = get-spweb "http://myfarm/mysite/mysubsite" $file = $web.GetFile("FileUrl") $file.ReleaseLock($file.LockId) $web.Dispose()

View answer
Download Large Files from SharePoint Online
Accepted answer
0 votes

Finally, I was able to download files, up to 9.7GB from SharePoint Online using RPC. Please visit the following link, where I have blogged about this issue, to get the complete solution as it's not ...

View answer
Sharepoint client object model {File not found}
0 votes

Assuming that you are all sorted with your file paths, I would suggest you to update the list first before updating the listItem. newFile.Url = filepath + "\\" + Path.GetFileName(path); List docs = ...

View answer
Check if the current SharePoint Page is in Edit mode from within a SharePoint Online App
Accepted answer
0 votes

It seems there's no direct way through which the SharePoint app can communicate directly with the host page. We have to rely on the limited queryStrings that SharePoint provides on-load. Which means ...

View answer