In the Tips section, we introduce samples that use Kintone's API to build customizations that you can apply to your apps.
Be sure to read through the JavaScript Coding Guidelines before you start using these samples for your own apps.

As a starter, let's start off with a quick customization. Open up a local text editor, and type in the following code.

Save the file, and name it hello.js. Make sure to place the .js at the end, and also save with UTF-8 encoding.

Now, log into your Kintone, pick an app that you've made and go to it's settings.

Click on the "App Settings" tab and then on "JavaScript and CSS Customization". Click on "Add File" button under "Upload JavaScript for PC". Upload the hello.js file that you just made (note: you will need Kintone Administrator settings to be able to upload files to this menu)

Once done, click on Save, and then on Apply Changes.
Now every time you open this app, an alert message will pop up saying "Hello kintone".

Great! We've managed to implement a JavaScript file into a Kintone app!
Of course, most people won't find it useful having an alert message opening up every time they open the app.

The Kintone API document introduces Events, that tells the code to start functioning at a particular timing - for example, to only show a message when you're editing a record. Other documents include retrieving values that are inside the records, retrieving user information and so on.

The goal of our tips is to help you understand the Kintone API, and to help you be able to create your own customized apps!

Was this article helpful?
0 out of 0 found this helpful
Do you have any questions or issues related to this article?
Please share your views with us in the Community forums!