NEW3.00.00 · Released 6 July 2016
NEWfinPOWER Connect
Released in
3.00.00
6 July 2016
  1. Opened12 Feb
  2. Closed12 Feb
  3. Released6 Jul
Article 13595 Job J016923

Scripts; Template Text page now available

The Scripts form now has a "Template Text" page.

This page allows text to be entered and saved against the Script. It can then be retrieved and used by the Script as follows:

strTemp = finBL.Scripts(ScriptInfo.ScriptId).TemplateText

This property was primarily added for HTML Widget type Scripts to define HTML and JavaScript content for the Widget but can now be used by any type of Script.

NOTE: Currently the editor for the Template Text does not provide any syntax colouring for HTML and JavaScript. Script developers may wish to copy and paste text between the Scripts form and their preferred editor rather than editing directly in the Template Text editor.