Import JavaScript screen

Uploads an exported JavaScript file from your local machine, and adds it to JavaScript library in Page Builder.

Figure: Import JavaScript screen

Import JavaScript screen

Prerequisites

How to Start

  1. Click Page Builder.

    Build Pages
  2. On the Home screen, in the left pane, click Library.

    Click Library
  3. In the left pane, click JavaScript.

    Click JavaScript
  4. On the JavaScript screen, click Import JavaScript.

    Import JavaScript

Fields

Field NameDefinition

Import File

Function:
Specifies a file that contains the JavaScript snippet to use.
Accepted Values:
A JSON file that contains an exported JavaScript snippet.

Click the Select A File button to select a file from your local file system.

This file must be exported from Page Builder.

For more information, refer to Export a JavaScript file from Page Builder.

Default Value:
None

File Type

Function:
Shows the type of the file you selected to import.

When you select the file, this field shows the file type by default.

Accepted Values:
Read only.

Import

Function:
Uploads the file to the Page Builder library.