Skip to main content

Questions tagged [java]

Filter by
Sorted by
Tagged with
0 votes
1 answer
109 views

I need to Programatically be able to change the content type of the folders in a SharePoint Online Site. I have Java Program that needs to run and detect if a folder has the correct Content Type and ...
rread's user avatar
  • 11
0 votes
0 answers
636 views

SharePoint Graph API to generate an Access token. URL to generate access token: https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token URL to download a file from SharePoint: https://graph....
Thomson Ignesious's user avatar
0 votes
1 answer
1k views

Can someone offer guidance on why the following code does not update the title field of a SharePoint list item? public void setItemTitle(String siteId, String listId, ListItem item) { ListItem ...
DaveP's user avatar
  • 1
1 vote
1 answer
3k views

When I try to open 'https://{site}/_layouts/15/AppRegNew.aspx', in order to generate an access token to authorize REST API calls to the SharePoint site to retrieve data and manipulate the site data, I ...
Darshan's user avatar
  • 11
1 vote
1 answer
9k views

I want to manupulate (read, write, delete) files in a document library of my sharepoint (hosted at Sharepoint Online). Ultimately this will be Part of a Java Webapplication where a backend job runs ...
Ruik's user avatar
  • 123
1 vote
0 answers
281 views

I tried to add a new content type to list using MS Graph Explorer: Request: POST https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/contenttypes with body: { "description": "...
Foat Sharafutdinov's user avatar
2 votes
1 answer
20k views

I am using below endpoint to get the content of file in sharepoint: https://<site>/_api/web/GetFolderByServerRelativeUrl('folder name')/Files('file name')/$value?binaryStringResponseBody=true ...
Ayushi Goel's user avatar
0 votes
2 answers
1k views

I have multiple itemIds, and I like to get the actual items using these itemids in just a single request, is that possible? I know about getListItem() method but that would use only 1 itemid, hence ...
drn's user avatar
  • 3
1 vote
0 answers
459 views

I am trying to upload the file on SharePoint online larger than 250MB using rest API. I have divided data of the file in small chunks say 100MB and used Start upload, continue Upload and Finish Upload ...
Bharti Gulati's user avatar
0 votes
1 answer
230 views

As you can see in images, I have some folder in my document library. I wanna reach the files in the folder and take the "modifiedby" column and change it with java-rest api. I can reach the file ...
Catamak's user avatar
  • 11
0 votes
0 answers
42 views

I'm trying to implement sharepoint pagination in a way that you send how many items to skip and retrieve the next n number of items. Is there a way to go about it? https://sharepoint.com/_api/web/...
Ram's user avatar
  • 1
1 vote
0 answers
295 views

I am Using apache Http Client for connecting sharepoint using rest api. code snippet is as below: HttpClient client = HttpClientBuilder.create().build(); String baseurl = messages.getString("baseurl"...
Srinivas's user avatar
3 votes
2 answers
6k views

after check in a file using rest api , it having approval status as 'draft', do we have any rest api url (postman) to update approval status of a file in share point.
Anurag_BEHS's user avatar
6 votes
4 answers
49k views

I Know there are several post on sharepoint.stackexchange/stack overflow for this. But I didn't get from any of the post how to achieve this. I have access of share point (I mean share point ...
Anurag_BEHS's user avatar
2 votes
2 answers
13k views

I have developed one of the web based Java Application in which one of the page containing the form for uploading a files, as of now uploaded file stored on the Application server, but instead of this ...
user3296535's user avatar
1 vote
3 answers
3k views

I'm new to sharepoint, I've created a web services where i post files to a document library but i also want to add metadata(columns data) 'Title' at the same time as i post the file using java. Is ...
user3574273's user avatar