Customizing an App Using JavaScript and CSS

Article Number:040556

You can use JavaScript and CSS to customize the behavior and screen appearance of an app.

The kintone product website provides usage examples of customization.
Usage Examples of JavaScript and CSS Customization (Only available in Japanese)

You can create JavaScript programs using APIs.
For details on how to customize an app using JavaScript and CSS, refer to cybozu developer network.

Uploading JavaScript and CSS Files

This section describes how to upload created JavaScript and CSS files to an app.
Note that JavaScript and CSS files can be uploaded on kintone only by kintone Administrators.

JavaScript and CSS files can be uploaded for PCs and mobile devices (including the smartphone app) separately. The uploaded files are applied to the following screens of the app:

  • The "View" screen
  • The "Add Record" screen
  • The "Edit Record" screen
  • The "Record Details" screen
    Note that the files are also applied to the "Record Details" screen that is displayed when a record is opened via a notification from the app.
  • The screen to print a record
  • Tables and charts that present aggregate record data
    Note that the files are not applied to charts that are embedded in external sites by embed tags.
  • The aforementioned screens in the app's test environment (only for PC)
  1. Click the App Settings icon (the gear-shaped icon at the upper right of the "View" screen), select the App Settings tab, and then select JavaScript and CSS Customization under Customization and Integration.
    Screenshot: The "App Settings" icon

  2. Select the scope of customization from the following:

    • Affect all users
    • Affect only app administrators
    • Disable

    Before applying customization to all users, apply it only to app administrators and check that the customization works correctly.
    If you select Affect all users, the customization will be applied to all users, including guest users.

  3. Click Add Link or Add File and select a file to upload.

    • Domains other than cybozu.com can also be specified as the link.
    • Up to 30 files can be uploaded for PC and mobile devices separately.
    • The files are loaded in the order they are listed, from top to bottom.
    • You can change the file order by dragging and dropping the Drag to reorder icon to the left of each file name.

    Screen to upload a file for customization

  4. Click Save on the bottom right side of the screen.

  5. Click Update App at the upper right of the screen.

  6. On the confirmation dialog, click Update App.