The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [java]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
2k 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 ...
0
votes
0answers
19 views

I am trying to get Security Token in sharepoint authentication using Java

I am trying to get Security Token in sharepoint authentication using Java. Code I am using: public String buildSecurityTokenRequestEnvelope() { String envelopeTemplate = "<s:Envelope ...
0
votes
0answers
15 views

SharePoint 2013 On-Premise getting an error while accessing subsite java.net.ProtocolException: Server redirected too many times (20)

SharePoint 2013 On-Premise getting an error while accessing subsite java.net.ProtocolException: Server redirected too many times (20) It is working fine when I try to load subsite again with the same ...
0
votes
0answers
12 views

Accesing excel cell data hosted on SharePoint from java code level

I have following use case: I need to get to SharePoint, pass authentication using my credentials and retrieve data from excel file(certain cell) stored inside. Everything done in java. I was ...
1
vote
0answers
49 views

503 Service unavailable while uploading file on SharePoint online of size more than 249 MB

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 ...
2
votes
3answers
3k 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
0answers
20 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
16 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
1answer
25 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
0answers
13 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
2answers
653 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 ...
1
vote
0answers
96 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"...
0
votes
0answers
54 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
393 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 ...
3
votes
2answers
680 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 ...
0
votes
1answer
1k 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-...
1
vote
0answers
44 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=...