JavaScript screen (Form-Based App)

Lets app designers configure a JavaScript code snippet for an app.

Background and Setup

Examples

  • (Example) Use Custom JavaScript in an eForm
  • JavaScript Methods for eForm Builder - Examples for JavaScript methods that are available out-of-the-box (OOTB) in AgilePoint NX.
  • REST API - Code examples for implementing the REST API.
  • Advanced Examples

    For more advanced or complex examples or specific information about how to solve a specific business problem or use case, AgilePoint recommends the following resources:

    • AgilePoint Community Forums - A free, AgilePoint-moderated, crowd-sourcing user forum where you can ask questions about specific techniques, the solutions to use cases, workarounds, or other topics that may not be covered in the Product Documentation.
    • Video Portal - Video walkthroughs for a range of simple and advanced tasks in AgilePoint NX.
    • Professional Services - If you can not find the information you need for your specific business problem, mentoring is available through AgilePoint Professional Services.
    • Personalized Training - AgilePoint can provide personalized training for your organization. To request personalized training, contact AgilePoint Sales.

How to Start

  1. Click App Builder.

    Build Apps screen
  2. On the Application Explorer screen, click [App Name] > Shared Resources > JavaScript.

    Select JavaScript
  3. Click New.

    Click New

JavaScript screen

Creates a JavaScript file.

Figure: JavaScript screen

JavaScript screen

Fields

Field NameDefinition

File Name

Function:
Specifies the name that shows for the JavaScript file.
Accepted Values:
One line of text that can have spaces.
Default Value:
None

Description

Function:
A description for your JavaScript file.
Accepted Values:
More than one line of text.
Default Value:
None

JavaScript Code screen

Configures a JavaScript code snippet to use in an app.

Figure: JavaScript Code screen

JavaScript Code screen

Fields

Field NameDefinition

JavaScript Code

Function:
Specifies the JavaScript snippet to use in the app.
Accepted Values:
A JavaScript code snippet with no file headers.
Default Value:
None