New answers tagged

1 vote
Accepted

REST API show items if current logged in user's department is not equal to other user's department

You can achieve the results using two API calls. I have created a 'TestDL' list having 'TestPerson' column of type Person. You need to use two rest API first API to get the department of logged in ...
user avatar
  • 442
1 vote
Accepted

SP Online rest api: How to get all properties/columns from folders within another folder in a single request?

Try adding ListItemAllFields to $expand to get additional details from folders like: https://***.sharepoint.com/sites/***/_api/web/GetFolderByServerRelativeUrl('/sites/***/Goods/')/folders?$expand=...
user avatar
  • 27.7k
2 votes
Accepted

How to retrieve csv/json file from SharePoint document directory with RESTful call

You can use the REST API "/_api/Web/GetFileByServerRelativeUrl('/sites/mysite/test/JS File.js')/$value"to read data from js/csv files in the Document Library. An example: <script type=&...
user avatar

Top 50 recent answers are included