smartsheet-api-2.0smartsheet-java-sdk-v2

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 downloading, so I took the following step to download the java SDK

  1. Install brew

  2. install maven using command

    brew install maven

  3. follow steps in https://github.com/smartsheet-platform/smartsheet-java-sdk#install-by-compiling-directly-from-source to install sdk.

when I install the sdk, I got the following error in my terminal:

[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.

I am not sure what this means, how am I able to fix the problem?

I tried downloading the python sdk, and it works. I would like to incorporate the code to my web page (.js file) and I am not sure how it works.

any helps / recommendations would be appreciated.


Solution

  • It looks like it was clarified that you are looking to use the Smartsheet Javascript SDK for your project. The JS SDK is built to be used with Node.js and used on a back end server rather than directly in the browser. With this you will need to setup a Node.js project, perhaps using Express, and build a server for your application. This way you will make requests from the Javascript in your HTML page back to your own server. The server will then use the Smartsheet Javascript SDK to make requests to Smartsheet and then send that data back to your HTML page, the front end of your application, to be displayed.