FIX4.01.00 · Released 29 April 2024
FIXfinPOWER Connect
Released in
4.01.00
29 April 2024
  1. Opened14 Jun 2023
  2. Closed13 Mar
  3. Released29 Apr
Article 21280 Job J031302

HTML Widgets; Template Text editor; Intellisense, particularly for the "C" object used to contain control references, would sometimes not work

When editing an HTML Widget's Template Text, finPOWER Connect provides addition intellisense Widget objects and, in particular, the "C" object which is used in most system-supplied Widgets to hold references to all of the Widget's controls, e.g.:

// Controls
var C = {
  lblReleaseVersion: null,
  cboVersion: null,
  dateReleased: null,
  
  lblSystems: null,
  chkReleasefinC: null,
  chkReleasefinWS: null,
  chkReleasefinCC: null,
  divReleaseInfo: null,
  
  lblNextRelease: null,
  dateNextRelease: null,
}

The allows the User to press "C." and a list of the various controls would be displayed to select from.

However, under certain circumstances, this would not work.

This was due to another variable ending in the intellisense variable's name being defined closer (above), e.g., using the above example, the following would have worked at point A but not at point B:

// A - works

TestC = {
 caption: "test",
 value: 123
}

// B - does not work

Prior to this fix, typing "C." at point B would have presented a listed containing two items: "caption" and "value".

This issue has now been resolved.