Questions tagged [smartsheet-java-sdk-v2]
22 questions
2
votes
0 answers
Build SesV2Client.builder() explicitly using AWS credentials from src/main/resources/application.yml file in java
I want to build SesV2Client.builder() explicitly using AWS credentials from src/main/resources/application.yml file in java.
I have been using this code-
SesV2Client sesv2Client =…

Pranci Saxena
- 21
- 1
2
votes
4 answers
Indent rows with Smartsheet API with Java
I am trying to write a simple program in Java using the Smartsheet API that goes through a fairly large sheet, and indents certain rows. Here is some code similar to what I'm using.
Smartsheet smartsheet = new SmartsheetBuilder().setAccessToken("[My…

Jake Shuman
- 51
- 1
1
vote
1 answer
How to create a new sheet from an existing one in smartsheet API 2.0
I am trying to create a new sheet from an existing sheet using the Java API 2.0 for Smartsheet. The code I am using is as follows.
try{
Sheet sheet = smartsheet.sheetResources().getSheet(Id, null, null, null, null, null, null, null);
Sheet…

T A
- 63
- 1
- 6
0
votes
1 answer
Cell values not copying over to new sheet using Smartsheet API
I am trying to create a new sheet from a template using the SmartSheets API. Here is the code I am using to do so.
response = smart.Home.create_sheet_from_template(
smartsheet.models.Sheet({
'name': 'newsheet',
'from_id': temp_id #…

Colin
- 3
- 2
0
votes
0 answers
Changing cells in sheet using Java and Smartsheet API
I have a not big, but unsolvable for me problem. My Java code connects with smartsheet, and reads a list of sheets at folder (by folder id), next, it copies from folder ony sheets (leaving reports and dashboards), changing name of sheets and paste…

DiKiyBimer
- 1
- 2
0
votes
2 answers
How to limit smartsheet-api to some specific sheets and not all the sheets in a workspace
If I have two sheets (for example) in a workspace then how do I limit an API access token to one of those sheets so that only that particular sheet can be updated from the API and the other sheet will not be visible to the API?
I have searched the…

Rahatur
- 3,147
- 3
- 33
- 49
0
votes
1 answer
No such host is known (api.smartsheet.com) - Java SDK
Trying to get sheet data using the smartsheet java sdk. This is the code I am using -
Smartsheet smartsheet = new SmartsheetBuilder()
.setAccessToken(accessToken)
…
0
votes
1 answer
Smartsheet Java API Getting Discussions
Trying to programmatically get comments made on rows in smartsheet with the Java API. When I use row.getDiscussions() it always returns null even though comments are present on that row.
try
{
Smartsheet CommericalSmartsheet = new…

ali3n_
- 3
- 1
0
votes
2 answers
How do I install Smartsheet Java SDK properly and use it in html?
So I am trying to use SDK java for my web page development. I have html file that show my map. What I would like to do is to get my data from Smartsheet and convert these data to points on the map.
I figure maybe java SDK is the file that I would be…

Maggster
- 51
- 6
0
votes
1 answer
Accessing Smartsheet Oauth in html page
I have asked in my post earlier what url / redirect url I should use here:
how to request auth code from Smartsheet via Postman
An user suggested me to ngrok, it gave me a temporary website when I set the http to 80. However, I noticed the…

Maggster
- 51
- 6
0
votes
1 answer
Reading numerals with Smartsheet Cell.getValue()
I have a smartsheet from which I'm reading data using Java. One of the columns contains TEXT_NUMBER data with no additional formatting. I'm using Cell.getValue() to fetch the contents of this cell.
My problem is, I do not know a priori what the cell…

julie
- 37
- 1
- 8
0
votes
1 answer
Smart Sheet API 2.1.1, Download attachment but url is missing
Download attachement to Local drive ##
for(Row r : rows){
PagedResult attachments = smartsheet.sheetResources().rowResources().attachmentResources().getAttachments(sheetId, r.getId(), null);
…

Uzair Kamal
- 33
- 7
0
votes
2 answers
Smartsheet OAuth Client lifespan
Is it possible to create a public OAuth Client id that never expires in Smartsheet using their simple developer account they provide?
They provide trial accounts, but my concern is what happens with the OAuth client when the account expires? Will…

d0kt0r1
- 305
- 1
- 3
- 15
0
votes
1 answer
Copy a folder with Smartsheet API - Java SDK 2.0.5
I am trying to copy a folder with the Smartsheet API 2.0 (Java SDK 2.0.5).
Unfortunately the folders and sheets (all sub folders/sheets too) are copied but the sheet data is missing.
I get no errors everything works fine.
I tried several variants of…

eisentor
- 66
- 5
0
votes
1 answer
Set numericDates=true from Smartsheets Java API
I am reading the values of cells from a SmartSheet sheet, but would prefer the DateTime information in the modified column to be numeric. The API reference says I can set numericDates=true to accomplish this, but I can not figure out how or where…

S.Fitzgerald
- 23
- 4