In this article:

Creating Custom Buttons

Applying Custom Buttons

Displaying Totals

To work with the tool in Foresight Analytics Platform 10, use the new interface.

Functionality Enhancement

One can enhance functionality of created applications by using advanced features of Foresight Analytics Platform. Available features:

To start calculation algorithms, execute Fore units, open repository object, create a custom button or use the hyperlink. The signature and examples of functions for hyperlink are specified in the Hyperlink section.

IMPORTANT. Hyperlink setup in a data entry form is available only in the development environment using the ITabHyperlink interface.

To use custom buttons:

  1. Create a calculation algorithm, Fore unit/JS-function or repository object. The following can be selected as a repository object to be opened: dictionary, regular report, data entry form.

NOTE. Work with calculation algorithms is available only if the Calculation Algorithms extension is installed.

  1. Create a custom button.

  2. Apply custom button.

  3. Set up the ribbon to structure added buttons.

Creating Custom Buttons

To create custom buttons, use the Custom Buttons dialog box.

To open the dialog box

To create custom buttons:

  1. Add a custom button, enter its name and determine type.

  2. Determine settings for the selected type: calculation algorithm, Fore/JS functions unit or opening repository object.

  3. Load icon for button and set up its size.

  4. Select unit that can be used for prehandler, posthandler, managing button activity and for executable method/function on creating button of the Fore/JS Function Unit type.

Add a custom button

Edit button

Set up calculation algorithm

Set up Fore/JS function unit

Set up repository object opening

Load and set up icon size

Set up prehandler

Set up posthandler

Manage button activity

Delete button

Applying Custom Buttons

Created custom buttons are displayed on the Custom Functions ribbon tab. The tab becomes available after the custom button is added.

On clicking the button, actions are executed according to settings made on creation:

If additional options were set for the button:

Displaying Totals

If totals should be displayed in a form, use the Reports tool. To do this:

  1. In the object tree select the form. The list of objects will display a regular report.

  2. Open the report for edit.

  3. Set up totals interface.

  4. Save changes.

See also:

Getting Started with the Interactive Data Entry Forms in the Web Application | Building Data Entry Form | Working with Ready Data Entry Form