Actions right arrow Actions Tree Setup HTML

The Actions Tree Setup HTML code is accessible from the Setup HTML button in the Actions Tree editor. The Setup HTML page will be shown to the user after creating or double clicking an Execute Actions Tree that executes the Actions Tree for which a Setup HTML code have been set.

This page must contain a FORM with Id mainForm that will be submitted by Helium Scraper when the user presses the OK button in the dialog. The parameters sent by the form will be captured and stored by Helium Scraper. These parameters can then be accessed from every Execute JavaScript action by calling the Tree.GetParams method. Thus, the user can give different parameters to different Execute Actions Tree actions that execute the same Actions Tree.

The size of the rendered HTML page is given by the size of a DIV element with id topDiv. This element should contain every other element in the page, including the mainForm FORM.

The HTML code can access via JavaScript a ProjectObject object from the window.external object. This object contains information about the current project, such as the list of Kinds and Tables. It can also access the parameters set by the user if they have been previously set. Consequently, the last values set by the user can be properly displayed to the user the next time the Setup HTML page is shown.