Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [java]

The tag has no usage guidance.

3
votes
2answers
365 views

How to update ModerationStatus (approval status) of a file in share point using Rest API

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.
1
vote
1answer
44 views

Send exported Word Document from another application to SharePoint Library (SP2013 on-premise)

First of all, there are similar questions on this forum, but I don't really know if and how I can adopt them to my Use-Case, which is based on a workflow script. I am working on a script, which ...
1
vote
0answers
60 views

SharePoint form digest response 404 using java REST api

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"...
1
vote
0answers
38 views

Sharepoint Online REST API - cannot get .aspx files

I'm using a Java app to get files from sharepoint online. I'm using the following REST API endpoint: apiUrl = BASE_API_URL + "/web/Lists/GetByTitle('" + sharepointList + "')/Items?$select=...
1
vote
1answer
1k views

How to call the SharePoint rest API using Java web application?

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 ...
1
vote
3answers
2k views

Add metadata(columns data) to a file in Document Library using java. Sharepoint 2013

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 ...
1
vote
2answers
1k views

Download and upload file from share point using Java (Rest API call)

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 ...
0
votes
2answers
199 views

SharePoint POST REST API returning error code 400

I'm attempting to create an item in SharePoint on premise 2016 list using Java and SharePoint API. Forgive me if I missed it - I see a few related questions but they do not seem to really answer my ...
0
votes
1answer
23 views

Anyway to pull Sharepoint lists directly with a Java program to extract large amounts of data without first exporting to excel?

Does anyone know if there is anyway to pull lists from SharePoint directly using a Java program? I would like my program to automatically pull data from SharePoint every so often that I would set up ...
0
votes
1answer
956 views

Can authenticate through Negotiate with PowerShell but not with Java

I need some help setting up Kerberos on SharePoint correctly for a test single farm server. I am able to successfully use PowerShell to authenticate to this server as a given kerberos user: Invoke-...
0
votes
0answers
5 views

How to get the content of a specific document version

I am trying to retrieve the content of a specific version with Sharepoint API. I can get metadata like this : { "d": { "results": [ { "__metadata": { "id": "...
0
votes
1answer
9 views

Get a document modifiedBy in JAVA with RestApi

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 ...
0
votes
0answers
12 views

Paging in sharepoint 2013 for JAVA REST API [duplicate]

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/...
0
votes
0answers
47 views

METADATA FROM JAVA

I´ve created a Metadata Column called "Department" in my Sharepoint Server site. Does anybody know how to add information to that column when I upload a document from Java? Thank you.
0
votes
1answer
216 views

JAVA To Query SharePoint

I do not have direct access to my SharePoint server. I access the SharePoint data from a URL that is available only internal on my work VPN. Is there a way in JAVA to query this URL and return data ...