Questions tagged [smartsheet-java-sdk-v1]

6 questions
2
votes
1 answer

Smartsheet - Download Sheet as Excel File using API

I am trying to use the Smartsheet API to download a sheet as an excel file. I am really struggling to put together the correct code to do this. Can you provide a basic code example that will download an excel file using the Smartsheet API?
1
vote
1 answer

How to move a sheet with smartsheet api

When I create a new sheet using the smartsheet java api it is always created in the "sheets" folder under home. is it possible to move this sheet or create it in a different workspace/folder?
T A
  • 63
  • 1
  • 6
1
vote
1 answer

SmartSheet-API: change the readwrite publish URL

I am trying to change the URL for a smartsheet edit by anyone publication with the following code Sheet sheet = null; try { sheet = smartsheet.sheets().getSheet(sheetId, null); } catch (SmartsheetException e) { // TODO…
T A
  • 63
  • 1
  • 6
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); …
0
votes
1 answer

Smartsheet Java SDK - AssertionError: "Primary Column" has null Id

I'm having an issue getting column IDs back for a sheet. Below is my unit test that is failing. Any thoughts about what I'm doing wrong? It doesn't look like the ID is getting into the Column model. It is failing with: java.lang.AssertionError:…
Brett
  • 2,502
  • 19
  • 30
0
votes
1 answer

folder.getSheets() returning null?

I'm trying to go through and entire workspace and list each element in a treeview, but when I attempt to grab the sheets in the found folders the getSheets() method in the Folder class always returns null. Am I doing something wrong? …