page.PageId|Property||The Portal Page Id.
portal.GetResourceUrl|Method|resourceId,String,False,The Portal Resource Id.,~doneCallback,function,False,A function to call when the request is successfully completed.,~failCallback,function,True,A function to call if the request fails.,|Get the URL of a Portal Resource.~~For example, getting the URL for an Image Resource allows the "src" attribute of an IMG tag to be set via JavaScript.
portal.GetString|Method|eventId,String,False,The event Id to send to the HTML Widget Script.,~parameters,String/ object,False,A JavaScript object or JSON String to send to the HTML Widget Script.,~doneCallback,function,False,A function to call when the request is successfully completed.,~failCallback,function,True,A function to call if the request fails.,|Make an asynchronous callback to the finPOWER Connect Portal Script and get a String value.
portal.InsertWidget|Method|element,String/ jquery,False,The id of an HTML element or a jQuery object.,~options,object,True,Options,|Insert an HTML Widget into the page.
portal.Navigate|Method|url,String,False,The URL which is a Portal Page Id with any parameters to pass to the page included in the URL query string.,|Navigate to a Portal Page defined as a URL.~~{{warning|All URL parameters must be correctly encoded (e.g., using the JavaScript encodeURIComponent method).~~Alternatively, use the [[portal.Navigate2|Navigate2]] method to pass parameters as a JavaScript object and therefore avoid having to encode them.}}
portal.Navigate2|Method|url,String,False,The URL which is simply a Portal Page Id with no parameters.,~params,object,True,A JavaScript object containing properties that will be passed as parameters to the Portal Page specified in the URL.,|Navigate to a Portal Page defined as a URL, optionally specifying a JavaScript object defining parameters to pass to the page.
portal.OpenPageInModal|Method|pageId,String,False,The Portal Page Id.,~parameters,object,True,"A JavaScript object containing parameters to be passed, via the URL, to the Portal Page.",~modalOptions,object,True,Options for the Modal form.,|Open a Portal Page in a [[widget.UI.Modal|Modal]] form.~~{{note|Note: This simply creates a [[widget.UI.Modal|Modal]] object and calls the ''LoadPortalPage'' method.}}
portal.OpenPortal|Method|portalId,String,False,The Id of the Portal to open.,~newWindow,Boolean,True,Indicates whether to open the Portal in a new eindow (or browser tab).,False|Open a different Portal.~~{{Note|Note: For example, a Login button on a Website Portal may open the corresponding Client Portal.}}
portal.ShowPasswordChange|Method|returnToUrl,String,True,A Portal URL to return to once the password has been changed.,~modal,boolean,True,Indicates whether to display this page in a modal form.,false~modalOptions,object,True,Options to pass to the [[widget.UI.Modal]].,|Show the system-supplied Password Change page, optionally, in a modal form.
portal.ShowTerms|Method|modalOptions,object,True,Options to pass to the [[widget.UI.Modal]].,|Show the special "TERMS" page (Terms & Conditions) in a modal form.
widget.CanClose|Property||Check to see if the Widget can be closed.
widget.CurrencyDecimals|Property||Returns the number of decimal places that currency values are formatted to as defined in finPOWER Connect under Global Settings.
widget.CurrencySymbol|Property||Returns the currency symbol as defined in finPOWER Connect under Global Settings.
widget.DayMonthYearOrder|Property||Returns the day, month, year order as a string, e.g., "DMY", "MDY" or "YMD".
widget.IsHighDpi|Property||Returns ''true'' if the device display is detected as being a High DPI display.~~{{I|This equates to the HTML pixel ratio in the web browser being greater than 1.25.}}
widget.ThemeContrastColourBackground|Property||Returns the Theme Contrast Background Colour as an HTML colour String.~~{{Note|Note: For HTML Widgets, this will be the finPOWER Connect Cloud theme; for Portals it will be the theme colour defined on the Portal.}}
widget.ThemeContrastColourForeground|Property||Returns the Theme Contrast Foreground Colour as an HTML colour String.~~{{Note|Note: For HTML Widgets, this will be the finPOWER Connect Cloud theme; for Portals it will be the theme colour defined on the Portal.}}
widget.ThemeMainColourBackground|Property||Returns the Theme Main Background Colour as an HTML colour String.~~{{Note|Note: For HTML Widgets, this will be the finPOWER Connect Cloud theme; for Portals it will be the theme colour defined on the Portal.}}
widget.ThemeMainColourForeground|Property||Returns the Theme Main Foreground Colour as an HTML colour String.~~{{Note|Note: For HTML Widgets, this will be the finPOWER Connect Cloud theme; for Portals it will be the theme colour defined on the Portal.}}
widget.Version|Property||The Widget Version number. This is updated whenever new methods or functionality is added to HTML Widgets.
widget.ArrayAllowLookupById|Method|array,array,False,The array.,~idPropertyName,string,False,The name of the id object property.,|Extend an array object by allowing items to be looked up by an id using a case-insensitive ''GetItem(id)'' method.
widget.ArrayFromCsvString|Method|sourceString,string,False,A comma-separated string.,|Create a JavaScript array from a comma-separated list of values.~~This caters for quoted (using either single or double quotes) and unquoted values in the source string.
widget.ArrayRemove|Method|array,array,False,The array.,~item,object,False,The item to remove.,|Remove an item from a JavaScript array or collection.
widget.ArrayToCsvString|Method|array,array,False,A JavaScript array of string values.,|Create a comma-separated list of values from a JavaScript array of string values.~~Any array values containing commas will be quoted in the resulting CSV string.
widget.ArrayToCodeDescriptionList|Method|array,array,False,The array.,|Enhance an array that has been serialised from an ISCodeDescriptionList object to add helper methods.
widget.Chain|Method|widgetId,String,False,The Id of the new Widget to launch.,~startupParameters,object,True,Startup parameters to pass to the new Widget.,|Closes the Widget (where possible) and launches (chains) a different Widget.
widget.Close|Method||Closes the Widget (where possible).
widget.CompareDates|Method|date1,date,False,The first date.,~date2,date,False,The second date.,|Compare two dates, ignoring the time portion.
widget.DateAddDays|Method|date,date,False,The date.,~days,integer,False,The number of days to add (negative values will subtract days).,|Add or subtract a number of days to a JavaScript date.
widget.DisableCloseButton|Method||Causes the Windows Close button (desktop) or Modal Close button (finPOWER Connect Cloud) to not close the Widget. Instead, a "FormClose" notification action is sent to the Widget.
widget.DownloadFile|Method|eventId,String,False,The event Id to send to the HTML Widget Script.,~parameters,String/ object,False,A JavaScript object or JSON String to send to the HTML Widget Script.,|Make an asynchronous callback to the finPOWER Connect Script and allow a file to be downloaded.~~{{Note|NOTE: Use instead of [[widget.GetString|widget.GetString]] if you need to download a file as a result of this action.}}
widget.ExecuteApplicationShortcutUrl|Method|url,string,False,"An Application Shortcut URL.<br>--Must be prefixed by ""app://""--",|Executes an Application Shortcut URL.~~{{W|This method is not available to externally hosted HTML Widgets and, when running from a Portal that is hosted outside of finPOWER Connect, only a small subset of functionality is available.}}
widget.FormatCardExpiryDate|Method|value,string,False,The string value to format.,|Formats a Credit Card Expiry Date from a string.~~{{I|NOTE: Although Card Expiry Dates are held within finPOWER Connect as Date values, for the purposes of HTML Widgets, they are converted to String values.}}
widget.FormatCurrency|Method|value,Number,False,The number value to format.,~includeSymbol,Boolean,True,Indicates whether to include the currency symbol.,false~blankIfZero,Boolean,True,Indicates whether to return a blank string if the value is zero.,false~forceMinusSymbol,Boolean,True,"Indicates whether negative values should be forced to use the minus symbol rather than the default format, e.g., the number in parentheses.",false|Formats a value using the database currency settings.
widget.FormatDate|Method|value,Number,False,The date value to format.,|Formats a value using the User's configured date format.~~{{W|It is recommended dates passed from Script Code are in UTC format in which case the [[widget.FormatUtcDate]] function may be better suited.}}
widget.FormatNumber|Method|value,Number,False,The number value to format.,~decimals,Number,False,The number of decimal places to display.,~showSeparators,Boolean,True,Indicates whether to show thousands separators (generally a comma).,false~blankIfZero,,True,Indicates whether to return a blank string if the value is zero.,false|Formats a number for display.
widget.FormatUtcDate|Method|value,Number,False,The date value to format.,|Formats a value using the User's configured date format and displaying the non-localised, UTC date portions.~~{{I|Since it is recommended dates passed from Script Code are in UTC format, this function may be a better solution to displaying dates than the [[widget.FormatDate]] function.}}
widget.GetAgeInYears|Method|date,Date,False,"The date, e.g., a Client's Date of Birth.",~dateAsAt,Date,True,The Date As At for the calculation.,The current date|Get an age in years given a date of birth and, optionally, a date as at.
widget.GetAgeText|Method|date,Date,False,"The date, e.g., a Client's Date of Birth.",~dateAsAt,Date,True,The Date As At for the calculation.,The current date~full,Boolean,True,Indicates whether to always include details of the number of months and days.,false|Get a text string representing an age given a date of birth and, optionally, a date as at.
widget.GetHostingContext|Method||Returns a String value detailing the hosting context of the Widget.
widget.GetIconUrl|Method|icon,string,False,The icon's Id.,~size,number,True,The icon size in pixels.,16~overlay,string,True,The id of an overlay for this icon.,~dpiAdjust,bool,True,"Indicates whether to adjust the size for high DPI displays, e.g., if a high DPI display is detected an 32x32 pixel icon will be retrieved if size is omitted or specified as 16.",true|Return a URL to retrieve a finPOWER Connect icon.
widget.GetResourceImageUrl|Method|resourceId,string,False,The resource's Id.,~maxWidth,number,True,"If non-zero, this is the maximum width in pixels to return the image at. If this is less that the image's actual width, it will be scaled.",0~dpiAdjust,bool,True,"Indicates whether to adjust the maxWidth for high DPI displays, e.g., if a high DPI display is detected and a 200 pixel image is requested, this will double the request to 400 pixels.",true|Return a URL to retrieve an image-type resource from the finPOWER Connect Resources admin library.
widget.GetString|Method|eventId,String,False,The event Id to send to the HTML Widget Script.,~parameters,String/ object,False,A JavaScript object or JSON String to send to the HTML Widget Script.,~doneCallback,function,False,A function to call when the request is successfully completed.,~failCallback,function,True,A function to call if the request fails.,|Make an asynchronous callback to the finPOWER Connect Script and get a String value.~~{{Note|NOTE: Use [[widget.UploadFiles|widget.UploadFiles]] instead when you need to upload one or more user-supplied files.}}
widget.GetWeekDayName|Method|dayIndex,String,False,The index of the day from 0 (Sunday) to 6 (Saturday).,~abbreviate,Boolean,True,"Indicates whether to abbreviate, i.e., return only the first 3 characters.",false|Get a Week Day Name given a day index from 0 to 6.
widget.GetWeekDayNameFromDate|Method|date,Date,False,The date.,~abbreviate,Boolean,True,"Indicates whether to abbreviate, i.e., return only the first 3 characters.",false|Get a Week Day Name given a date.
widget.Minimise|Method||Minimise the Widget (where possible).
widget.NotifyBusy|Method||When running under finPOWER Connect Cloud, prevents the User Interface from signing the User out for approx 2 minutes even if there is no mouse or keyboard activity detected.~~{{Note|Note: Does nothing when the widget is not hosted in finPOWER Connect Cloud.}}
widget.ParentNotify|Method|actionId,String,False,"If supplied, this will tell the parent form to refresh with the specified record id, e.g., in the event that this Widget has updated the record's Id.<br>--NOTE: Only applicable when running under finPOWER Connect Cloud.--",~data,Object,True,"Optional data, e.g., the Accounts Close wizard can take in a JSON formatted object containing an 'accountId' property to indicate that that Account should be flagges as being closed.",|Send a notification to the parent HTML Widget or, if opened from a finPOWER Connect form, to the form.
widget.RefreshParent|Method|recordId,String,False,"If supplied, this will tell the parent form to refresh with the specified record id, e.g., in the event that this Widget has updated the record's Id.<br>--NOTE: Only applicable when running under finPOWER Connect Cloud.--",~data,Object,True,"Optional data, e.g., the Account form can take in a 'accountClientPk' parameter to identify a newly added Account Client to highlight.<br>NOTE: If supplied, the data object will automatically have a 'recordId' property added.",|Refresh the parent form that opened this HTML Widget, e.g., to show updated details.
widget.Round|Method|value,number,False,The number to round.,~precision,number,False,The number of decimal places to round to. This can be a negative number to round to the left of the decimal point.,|Round a value to the specified number of decimal places.
widget.RoundCurrency|Method|value,number,False,The number to round.,|Round a currency value.~~{{note|Note: Rounding is based on the database having currency decimals configured to either 0 or 2.}}
widget.RoundCurrencyDown|Method|value,number,False,The number to round.,|Round a currency value down to the next smallest value.~~{{note|Note: Rounding is based on the database having currency decimals configured to either 0 or 2.}}
widget.RoundCurrencyUp|Method|value,number,False,The number to round.,|Round a currency value up to the next smallest value.~~{{note|Note: Rounding is based on the database having currency decimals configured to either 0 or 2.}}
widget.UploadFiles|Method|eventId,String,False,The event Id to send to the HTML Widget Script.,~parameters,String/ object,False,A JavaScript object or JSON String to send to the HTML Widget Script.,~files,object,False,A 'file' type Input control or another control's Files() collection.,~doneCallback,function,False,A function to call when the request is successfully completed.,~failCallback,function,True,A function to call if the request fails.,|Make an asynchronous callback to the finPOWER Connect Script and get a String value and, optionally, upload files at the same time.~~{{Note|NOTE: Use this method instead of [[widget.GetString|widget.GetString]] when you need to upload one or more user-supplied files.}}
widget.UI|Sub-Object||The object through which User-Interface focused functionality is available.~~This object is a direct property of the [[widget|widget]] object and is always accessed as ''widget.UI''.
widget.UI.Charts|Sub-Object||The object through which User-Interface charting functionality is accessed.~~This object is a direct property of the [[widget.UI|widget.UI]] object and is always accessed as ''widget.UI.Charts''.
widget.UI.Forms|Sub-Object||The object through which all special User-Interface forms are accessed.~~This object is a direct property of the [[widget.UI|widget.UI]] object and is always accessed as ''widget.UI.Forms''.
widget.UI.IsSmallMobileBrowser|Property||Indicates whether this Widget is running on a small mobile Web Browser.
widget.UI.AccountFinancial|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.<br>--This must be a TBODY element--,~options,object,True,Control options.,|Create an [[WidgetControls.AccountFinancial|AccountFinancial]] Widget Control.~~This control allows entry of Account Financial details as per the Financial page of the New Account wizard.~~{{W|This is not a trivial control to use. The system-supplied New Account wizard HTML Widget uses this control.}}
widget.UI.AccountIncomingPaymentDetails|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.<br>--This must be a TBODY element--,~options,object,True,Control options.,|Create an [[WidgetControls.AccountIncomingPaymentDetails|AccountIncomingPaymentDetails]] Widget Control.~~This control allows recording of Payment Details for an Account, entry of Payment Recieved (incoming) information.
widget.UI.AccountOutgoingPaymentDetails|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.<br>--This must be a TBODY element--,~options,object,True,Control options.,|Create an [[WidgetControls.AccountOutgoingPaymentDetails|AccountOutgoingPaymentDetails]] Widget Control.~~This control allows recording of Outgoing Payment Details for an Account.
widget.UI.AddressDetails|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.<br>--This must be a TBODY element--,~options,object,True,Control options.,|Create an [[WidgetControls.AddressDetails|AddressDetails]] Widget Control.~~This control allows recording of Address Details for either a Postal or Physical address.
widget.UI.Block|Method|message,String,True,The message to display.,|Blocks the User Interface and displays a wait animation and optional message.~~{{I|This method can be called multiple times to update the message that is displayed.}}
widget.UI.ButtonList|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.ButtonList|ButtonList]] Widget Control.~~This displays a list of buttons from which a single item can be flagged as selected.~~{{Note|Note: This control is used on system-supplied HTML Widgets such as the **Client Contact Method**, **New Organisation Client**  and **Audit Search** wizards.}}
widget.UI.ButtonStrip|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.ButtonStrip|ButtonStrip]] Widget Control.~~This displays a a toolbar like control and is also accessible from other controls such as TextBox via the ''Buttons()'' method.
widget.UI.Calendar|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.Calendar|Calendar]] Widget Control.~~{{I|**Note:** This control deals only with UTC dates. See the [[WidgetControls.DateBox|DateBox]] topic on how to handle this via JavaScript and Widget Script code.}}
widget.UI.CheckBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.CheckBox|CheckBox]] Widget Control.
widget.UI.CheckList|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.CheckList|CheckList]] Widget Control.
widget.UI.ColourChooserComboBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create an [[WidgetControls.ColourChooserComboBox|ColourChooserComboBox]] Widget Control which displays a list of colours including an icon representing the colour.
widget.UI.ComboBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.ComboBox|ComboBox]] Widget Control.
widget.UI.DateBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.DateBox|DateBox]] Widget Control.~~{{I|**Note:** This control deals only with UTC dates. See the [[WidgetControls.DateBox|DateBox]] topic on how to handle this via JavaScript and Widget Script code.}}
widget.UI.DateCycleComboBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.DateCycleComboBox|DateCycleComboBox]] Widget Control.
widget.UI.DateTimeZone|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.DateTimeZone|DateTimeZone]] Widget Control.~~This control allows entry of date and time details and optionally allows a time zone to be specified as per the Notes page of the Document Create wizard.~~{{W|Setting business layer dates and time zones based on the values of this control must typically be done in a specific order. The system-supplied Document Create wizard HTML Widget uses this control.}}
widget.UI.DBCombo|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.DBCombo|DBCombo]] Widget Control.
widget.UI.DisableControlStyling|Property||When set to ''true'', disables certain styling applied when creating HTML Widget Controls such as [[widget.UI.CheckBox|CheckBox]].~~{{Note|NOTE: This is useful, particularly in Portals, when omitting the HTML Widget Stylesheet and using an external library to style the controls.}}
widget.UI.DocumentManagerComboBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create an [[WidgetControls.DocumentManagerComboBox|DocumentManagerComboBox]] Widget Control which displays a list of Document Manager files and optionally allows a new file to be specified for upload.
widget.UI.Evaluate|Method|element,string/ jquery,True,The id of an HTML element or a jQuery object.,The entire HTML document.|Evaluate Angular-style attributes in the document or within the specied element.
widget.UI.ExpiryDate|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.ExpiryDate|ExpiryDate]] Widget Control.~~{{I|**Note:** This control deals only with UTC dates. See the [[WidgetControls.DateBox|DateBox]] topic on how to handle this via JavaScript and Widget Script code.}}
widget.UI.Form|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Options.,|Create a Form object that can be manipluated and fits in with the finPOWER Connect Cloud User Interface.
widget.UI.GetInputDate|Method|message,String,False,The message to display.,~options,object,True,Options.,~okCallback,function,False,"A function to call when the ""OK"" button is clicked.",~cancelCallback,function,False,"A function to call when the ""Cance"" button is clicked.",|Display a message box that allows the user to enter a date.
widget.UI.Grid|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.Grid|Grid]] Widget Control.
widget.UI.HtmlNamedColourToRgb|Method|namedColour,String,False,The named HTML colour.,|Convert a named HTML Colour such as "red" and convert it to RGB format, i.e., "#FF0000".
widget.UI.HtmlEditor|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.HtmlEditor|HtmlEditor]] Widget Control.
widget.UI.HtmlEncode|Method|value,String,False,The text to encode.,~makeSpacesNonBreaking,Boolean,True,Indicates whether all spaces should be encoded as non-breaking spaces.,false|HTML Encode a text value (including converting new lines to <br/> tags).
widget.UI.IconComboBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create an [[WidgetControls.IconComboBox|IconComboBox]] Widget Control which displays both a value and its corresponding system icon.
widget.UI.InformationListComboBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.InformationListComboBox|InformationListComboBox]] Widget Control.
widget.UI.Label|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.Label|Label]] Widget Control.
widget.UI.LoadStyle|Method|style,string,False,"The style name. One of: <br>""SemUI""<br>--Pass in null to clear loaded styles--",~options,object,True,Style options.,~callback,callback,True,A callback to run when the style has been loaded.,|Load a named style to apply to the Widget Controls.~~{{note|Note: Styles are useful when hosting an HTML Widget on an external Website where the default finPOWER Connect styles may not fit in with the site design.}}
widget.UI.Modal|Method|options,object,True,Control options.,|Create a [[WidgetControls.Modal|Modal]] Widget Control.
widget.UI.MsgBoxAlert|Method|message,String,False,The message to display.,~options,object,True,Message box options.<br>--Ignored when displaying a message box from within finPOWER Connect.--,~callback,function,True,"A function to call when the ""OK"" button is clicked.",|Display an alert message box.
widget.UI.MsgBoxConfirm|Method|message,String,False,The message to display.,~options,object,True,Message box options.<br>--Ignored when displaying a message box from within finPOWER Connect.--,~okCallback,function,True,"A function to call when the ""OK"" button is clicked.",~cancelCallback,funtion,False,"A function to call when the ""Cancel"" button is clicked.",|Display a confirmation message box with "OK" and "Cancel" buttons.
widget.UI.MsgBoxConfirmDelete|Method|message,String,False,The message to display.,~options,object,True,Message box options.<br>--Ignored when displaying a message box from within finPOWER Connect.--,~okCallback,function,True,"A function to call when the ""OK"" (or ""Delete"") button is clicked.",~cancelCallback,funtion,True,"A function to call when the ""Cancel"" button is clicked.",|Display a "Delete" confirmation message box with "OK" and "Cancel" buttons.~~**Note:** The main difference between this and the [[widget.UI.MsgBoxConfirm|MsgBoxConfirm]] method is the icon that is displayed.
widget.UI.MsgBoxConfirmList|Method|message,string,False,The message to display.,~list,array,False,An array of strings to display as the check list.,~options,object,True,Message box options.,~okCallback,function,True,"A function to call when the ""OK"" button is clicked.",~cancelCallback,funtion,False,"A function to call when the ""Cancel"" button is clicked.",|Display a confirmation message box with "OK" and "Cancel" buttons.~~This message box can display a list of items, all of which must be checked for the "OK" button to be enabled.
widget.UI.MsgBoxInfo|Method|message,String,False,The message to display.,~options,object,True,Message box options.<br>--Ignored when displaying a message box from within finPOWER Connect.--,~callback,function,True,"A function to call when the ""OK"" button is clicked.",|Display an information message box.
widget.UI.MsgBoxList|Method|message,string,False,The message to display.,~list,array,False,An array of list items to display.,~options,object,True,Message box options.,~listCallback,function,True,A function to call when an item is clicked.,|Display a list of options from which the User can choose.
widget.UI.NumberBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.NumberBox|NumberBox]] Widget Control.
widget.UI.OrderElements|Method|containerElement,jQuery element,False,A jQuery object.,~tagName,string,False,The Tag Name of the child elements to re-order.,~orderAttributeName,String,False,The attribute name to order by.,~desc,boolean,True,"If true, orders in descending order.",false|Re-orders elements within a parent element based on the specified attribute.
widget.UI.ParametersHost|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create an [[WidgetControls.ParametersHost|ParametersHost]] Widget Control which allows entry of finPOWER Connect Parameters such as User Defined fields.
widget.UI.PermissionKeyComboBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create an [[WidgetControls.PermissionKeyComboBox|PermissionKeyComboBox]] Widget Control which displays a list of non-desktop Permission Keys, i.e., Permission Keys that are not Menu or Report-based.
widget.UI.PreviewPane|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.PreviewPane|PreviewPane]] Widget Control, used to display HTML content.
widget.UI.RadioButton|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.CheckBox|CheckBox]] Widget Control that is styled like a Radio Button.~~{{Note|Note: This is a shortcut to [[Widget.UI.CheckBox|CheckBox]] passing in a ''cssClass'' option of "is-radio-button".}}
widget.UI.RadioButtonList|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.RadioButtonList|RadioButtonList]] Widget Control.
widget.UI.RangeSlider|Method|element,string/ jQuery,False,"The id of an HTML element or a jQuery object.<br>--NOTE: This input element must have a type attribute of ""range""--",~options,object,True,Control options.,|Create a [[WidgetControls.RangeSlider|RangeSlider]] Widget Control.
widget.UI.ScrollToTop|Method|element,string/ jQuery element,True,The id of an HTML element or a jQuery object.,|Scrolls the HTML document body so that the specified element is at the top (or as close as possible) or, if no element is specified, the entire document body is scrolled to the top.
widget.UI.ShowNotification|Method|type,String,False,"The type of notification.<br>--error, help, info, success, task, warning--",~message,String,False,The message to display.,~details,String,True,Additional details to display.,~title,String,True,Title to display.,~icon,String,True,Icon to display.,|Display a popup notification.
widget.UI.Tabs|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.Tabs|Tabs]] Widget Control.
widget.UI.TextBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.TextBox|TextBox]] Widget Control.
widget.UI.TimeBox|Method|element,string/ jQuery,False,The id of an HTML element or a jQuery object.,~options,object,True,Control options.,|Create a [[WidgetControls.TimeBox|TimeBox]] Widget Control.~~{{I|This control allows entry of the time portion of a date and would not typically be used by Widgets or Portals. It is used internally by the [[widget.UI.DateTimeZone|DateTimeZone]] control.}}
widget.UI.Unblock|Method||Unblocks the User Interface after it has been blocked using the [[widget.UI.Block|widget.UI.Block]] method
widget.UI.FIELD-WIDTH-CODE-5|Constant||A constant representing an HTML Width that can be applied to Widget Controls (e.g., DBCombos) that display a code that can be up to 5 characters long.
widget.UI.FIELD-WIDTH-CODE-10|Constant||A constant representing an HTML Width that can be applied to Widget Controls (e.g., DBCombos) that display a code that can be up to 10 characters long.
widget.UI.FIELD-WIDTH-CODE-15|Constant||A constant representing an HTML Width that can be applied to Widget Controls (e.g., DBCombos) that display a code that can be up to 15 characters long.
widget.UI.FIELD-WIDTH-CODE-20|Constant||A constant representing an HTML Width that can be applied to Widget Controls (e.g., DBCombos) that display a code that can be up to 20 characters long.
widget.UI.FIELD-WIDTH-CODE-25|Constant||A constant representing an HTML Width that can be applied to Widget Controls (e.g., DBCombos) that display a code that can be up to 25 characters long.
widget.UI.MANDATORY-CONTROL-BACKGROUNDCOLOUR|Constant||A constant representing the HTML colour used to identify a mandatory control's background colour.
widget.UI.MANDATORY-LABEL-COLOUR|Constant||A constant representing the HTML colour used to identify a mandatory control's label.
widget.UI.Charts|Sub-Object||The object through which User-Interface charting functionality is accessed.~~This object is a direct property of the [[widget.UI|widget.UI]] object and is always accessed as ''widget.UI.Charts''.
widget.UI.Charts.ApexCharts|Sub-Object||This object provides helper methods that target the ApexCharts library.~~ApexCharts is an open-source JavaScript chart library.~~More information and documentation can be found at [[https://apexcharts.com/]].
widget.UI.Charts.ApexCharts.BarChart|Method|element,string/ jquery,False,The id of an HTML element or a jQuery object.,~options,object,False,Apex Chart options.,|Create a Bar Chart (by default, to display horizontal bars).~~More information and documentation can be found at [[https://apexcharts.com/docs/chart-types/bar-chart/]].
widget.UI.Charts.ApexCharts.Chart|Method|element,string/ jquery,False,The id of an HTML element or a jQuery object.,~options,object,False,Apex Chart options.,|Create a generic Chart that target the ApexCharts library.~~ApexCharts is an open-source JavaScript chart library.~~More information and documentation can be found at [[https://apexcharts.com/]].
widget.UI.Charts.ApexCharts.ColumnChart|Method|element,string/ jquery,False,The id of an HTML element or a jQuery object.,~options,object,False,Apex Chart options.,|Create a Column Chart (a vertical bar chart).~~More information and documentation can be found at [[https://apexcharts.com/docs/chart-types/column-chart/]].
widget.UI.Charts.ApexCharts.CreateXYSeries|Method|labels,array,False,An array of labels.,~values,array,False,An array of values (or series in Pie-chart terminology).,~colours,array,True,An array of HTML colours (do not use named colours).,|Create an XY series (required for most chart types apart from Pie and Donut charts).~~This method allows you to create a ''labels'' and ''series'' arrays that can be accepted by Pie charts and generate a series containing X and Y data.
widget.UI.Charts.ApexCharts.DonutChart|Method|element,string/ jquery,False,The id of an HTML element or a jQuery object.,~options,object,False,Apex Chart options.,|Create a Donut Chart.~~More information and documentation can be found at [[https://apexcharts.com/docs/chart-types/pie-donut/]].
widget.UI.Charts.ApexCharts.LineChart|Method|element,string/ jquery,False,The id of an HTML element or a jQuery object.,~options,object,False,Apex Chart options.,|Create a Line Chart.~~More information and documentation can be found at [[https://apexcharts.com/docs/chart-types/line-chart/]].
widget.UI.Charts.ApexCharts.PieChart|Method|element,string/ jquery,False,The id of an HTML element or a jQuery object.,~options,object,False,Apex Chart options.,|Create a Pie Chart.~~More information and documentation can be found at [[https://apexcharts.com/docs/chart-types/pie-donut/]].
widget.UI.Forms|Sub-Object||The object through which all special User-Interface forms are accessed.~~This object is a direct property of the [[widget.UI|widget.UI]] object and is always accessed as ''widget.UI.Forms''.
widget.UI.Forms.ShowAccountSchedule|Method|options,object,False,Form options.,|Shows the [[WidgetForms.AccountSchedule|Account Schedule]] form which can be used to display an Account Schedule generated from the finPOWER Connect business layer ''finAccountCalcSchedule.ToHtmlWidgetJsonString'' method.~~{{W|Not available if the HTML Widget is hosted externally.}}
widget.UI.Forms.ShowCompanyLookup|Method|options,object,False,Form options.,~doneCallback,function,False,A function to call when the form is completed.,~failCallback,function,True,A function to call if this method fails.,|Shows the [[WidgetForms.CompanyLookup|Company Lookup]] form which can be passed search parameters and displays a list of companies from the relevant service (e.g., NZ government).~~{{W|Not available if the HTML Widget is hosted externally.}}
widget.UI.Forms.ShowHtml|Method|title,string,False,The title for the modal form.,~html,String,False,The HTML to display.,~options,object,True,Options.,|Show HTML in a [[widget.UI.Modal|Modal]] form.~~{{NOTE|Note: If showing Summary Page content, remember to check the 'CSS Stylesheet for Summary Page (Version 2)' on the Scripts form, Options page.}}
widget.UI.Forms.ShowHtmlWidgetModal|Method|id,String,False,The HTML Widget Id.,~options,object,True,Options.,~callback,function,True,The callback function that is called in the parent when the child uses the widget.ParentNotify method.,|Show another, child, HTML Widget and set up a notification mechanism so this HTML Widget can communicate with its parent.~~{{W|Not available if the HTML Widget is hosted externally.}}
widget.UI.Forms.ShowRangeLookupFromDatabase|Method|value,String,False,The initial value to display in the Range Lookup form.,~options,object,False,Form options.,~doneCallback,function,False,A function to call when the form is completed.,~failCallback,function,True,A function to call if this method fails.,|Shows the [[WidgetForms.RangeLookup|Range Lookup]] form which allows a User to select a range of records based on an encrypted SQL clause.~~{{W|Not available if the HTML Widget is hosted externally.}}
widget.UI.Forms.ShowRangeLookupFromStandardRange|Method|rangeName,String,False,The Standard Range Name.<br>--See the [[WidgetControls.DBCombo.RefreshFromStandardRange]] topic for a list of standard ranges.--,~value,String,False,The initial value to display in the Range Lookup form.,~options,object,False,Form options.,~doneCallback,function,False,A function to call when the form is completed.,~failCallback,function,True,A function to call if this method fails.,|Shows the [[WidgetForms.RangeLookup|Range Lookup]] form which allows a User to select a range of records based on a finPOWER Connect Standard Range.~~{{W|Not available if the HTML Widget is hosted externally.}}
WidgetControls.AccountFinancial|Object||Represents a composite control created using the [[widget.UI.AccountFinancial|widget.UI.AccountFinancial]] method.~~This control allows entry of Account Financial details as per the Financial page of the New Account wizard.~~{{W|This is not a trivial control to use. The system-supplied New Account wizard HTML Widget uses this control.}}
WidgetControls.AccountIncomingPaymentDetails|Object||Represents a composite control created using the [[widget.UI.AccountIncomingPaymentDetails|widget.UI.AccountIncomingPaymentDetails]] method.~~This control shows multiple controls into which Account Payment Details can be displayed or entered.
WidgetControls.Calendar|Object||Represents a Calendar control created using the [[widget.UI.Calendar|widget.UI.Calendar]] method.~~This control allows date selection, or, just provides a calendar that can be navigated as markers placed to highlight any number of dates.~~~~{{I|**Note:** This control deals only with UTC dates.}}
WidgetControls.CheckBox|Object||Represents a CheckBox control created using the [[widget.UI.CheckBox|widget.UI.CheckBox]] method.
WidgetControls.CheckBox.Value|Property||The value of the [[WidgetControls.CheckBox|CheckBox]] control.
WidgetControls.CheckList|Object||Represents a CheckList control created using the [[widget.UI.CheckList|widget.UI.CheckList]] method.~~This control shows a list of checkboxes.
WidgetControls.ComboBox|Object||Represents a ComboBox control created using the [[widget.UI.ComboBox|widget.UI.ComboBox]] method.~~This control shows a dropdown list from which an item can be selected or, optionally, a free-form value entered.
WidgetControls.DateBox|Object||Represents a DateBox control created using the [[widget.UI.DateBox|widget.UI.DateBox]] method.~~This control allows date entry, optionally via a dropdown calendar and, if the ''allowTime'' option is specified, entry of a time.~~~~{{I|**Note:** This control deals only with UTC dates.}}
WidgetControls.DateTimeZone|Object||Represents a composite control created using the [[widget.UI.DateTimeZone|widget.UI.DateTimeZone]] method.~~This control allows entry of date and time details and optionally allows a time zone to be specified as per the Notes page of the Document Create wizard.~~{{W|Setting business layer dates and time zones based on the values of this control must typically be done in a specific order. The system-supplied Document Create wizard HTML Widget uses this control.}}
WidgetControls.DBCombo|Object||Represents a DBCombo control created using the [[widget.UI.DBCombo|widget.UI.DBCombo]] method.~~This control shows a text-entry portion, typically containing a code selected from a dropdown list. To the right of this, a description of the selected item is displayed.
WidgetControls.DBCombo.RefreshFromCodeDescriptionList|Method|value,object,False,The JSON serialised ISCodeDescriptionList object.,~columnHeaderCode,String,True,The header to display for the Code column when the dropdown list is shown.,Code~columnHeaderDescription,Boolean,True,The header to display for the Description column when the dropdown list is shown.,Description|Refresh the dropdown list from a JavaScript version of a ''ISCodeDescriptionList'' object.
WidgetControls.DBCombo.RefreshFromCollection|Method|value,object,False,The JavaScript collection.,~idColumn,String,False,The name of the object property to display in the DBCombo.,~descriptionColumn,Boolean,False,The name of the object property to display to the right of the DBCombo.,~displayColumns,String,True,A comma-separated list of object properties to display in the dropdown.,|Refresh list from a JavaScript collection (an array of objects).
WidgetControls.DBCombo.RefreshFromStandardRange|Method|standardRangeName,String,False,The Standard Range Name.,~sqlWhere,String,True,SQL Where clause to filter the results by.<br>--NOTE: This must be a 'simple' SQL WHERE clause and not contain any sub-queries or complex instructions unless an encrypted value is supplied.--,~includeInactive,Boolean,True,Indicates whether to include inactive records if applicable.,False~alwaysIncludeId,String,True,"The Id of a record to always include, regardless of whether it is filtered out by the sqlWhere or includeInactive parameters.",~displayColumns,String,True,A comma-separated list of columns to include or blank to retrieve the default list as defined within finPOWER Connect.,~callback,Function,True,A function to call when the list has been refreshed.,|Refresh list from a Standard Range.~~Generally, Standard Ranges relate to Admin libraries such as Account Types.~~Within the finPOWER Connect business layer, the ''isefinStandardRange'' Enum identifies all Standard Ranges.~~{{W|For security reasons, this method is not available to externally hosted HTML Widgets and unauthenticated Portals.}}
WidgetControls.DBCombo.RefreshUnbound|Method|value,String,False,The value to display in the field.,~description,String,True,The description to display to the right of the field.,|Refresh value and description from supplied values.~~Generally, this is used when the control is read-only and it avoids the overhead of having to refresh from a Standard Range to display value and description values that are already known.
WidgetControls.DBCombo.Text|Property||The text value of the [[WidgetControls.DBCombo|DBCombo]] control.
WidgetControls.Grid|Object||Represents a Grid control created using the [[widget.UI.Grid|widget.UI.Grid]] method.~~A grid is used to display tabular information and can also be used to edit data.
WidgetControls.Grid.AddColumnDateTime|Method|key,String,False,The column's unique identifier.,~options,object,False,Column options.,|Adds a column that displays a Date value containing a Time portion.
WidgetControls.Grid.AddColumnString|Method|key,String,False,The column's unique identifier.,~options,object,False,Column options.,|Adds a column that displays a String value.
WidgetControls.Grid.ColumnCaption|Method|key,string,False,The key of the column to update.,~caption,string,False,The new heading caption.,false|Update a column's heading caption.
WidgetControls.Grid.ExportData|Method|exportFormat,String,False,"The format to export the grid's data to.<br>''Csv'', ''HTML'', ''MSExcelWorkbook'', ''PDF''",|Export the data displayed in the grid.
WidgetControls.Grid.Actions|Method||A collection of Actions that are represented as buttons below the grid.
WidgetControls.Grid.InitialiseRow|Event|e,object,False,Event arguments.,An empty JavaScript object.|Provides a data binding mechanism for the grid.~~Occurs for each item in the supplied virtual class when the grid's ''VirtualDataRefresh'' method is called.
WidgetControls.Grid.RowDrilldown|Event|e,object,False,Event arguments.,An empty JavaScript object.|Occurs when the user does any of the following:~* Presses Enter when a row is active~* Clicks the button in any 'Drilldown' type column~* Double-clicks a row (providing the grid is not editable)
WidgetControls.Grid.SelectedRowsChanged|Event|e,object,False,Any empty JavaScript object.,|Occurs when the user has changed the selected rows using the grid's row selectors.~~{{note|NOTE: This event can be used to update grid buttons where the grid allows selection of multiple rows using the ''allowMultiRowSelect'' creation option.}}
WidgetControls.Grid.DataBinding|||
WidgetControls.Grid.Formatting|||
WidgetControls.Grid.EditableGrid|||
WidgetControls.Grid.GetValueAsync|||
WidgetControls.Grid.CreateFromTableElement|||
WidgetControls.InformationListComboBox|Object||Represents an InformationListComboBox control created using the [[widget.UI.InformationListComboBox|widget.UI.InformationListComboBox]] method.~~This control can be refreshed to show a dropdown list containing items defined in a Information List.
WidgetControls.InformationListComboBox.SetComboFromInformationList|Method|informationListId,String,False,The Id of the Information List.,~allowMandatoryOverride,Boolean,True,Indicates whether the 'allowBlank' property should be overridden by the 'Mandatory' setting as defined on the Information List record.,False~callback,Function,True,A function to call when the list has been refreshed.,~setDefaultValue,Boolean,True,Indicates whether to set the control's value to the default defined on the Information List.,False|Refresh list from an Information List.
WidgetControls.Label|Object||Represents a Label control created using the [[widget.UI.Label|widget.UI.Label]] method.
WidgetControls.Modal|Object||Represents a Modal window created using the [[widget.UI.Modal|widget.UI.Modal]] method.~~A modal is used to display a popup form that contains HTML content.
WidgetControls.Modal.Show|Method||Show the Modal form and optionally set its content and title.
WidgetControls.NumberBox|Object||Represents a NumberBox control created using the [[widget.UI.TextBox|widget.UI.NumberBox]] method.~~This control allows number entry, including currency values.
WidgetControls.ParametersHost|Object||Represents a composite control that allows entry of finPOWER Connect Parameters such as User Defined fields.
WidgetControls.ParametersHost.Initialise|Method|parameters,object,False,A JavaScript parameters object.<br>Generally created via Script code using the ''finBL.CreateWsParameters'' method.,~parametersOptions,object,False,Options.,|Initialise this control to display Parameters.
WidgetControls.RangeSlider|Object||Represents a RangeSlider control created using the [[widget.UI.RangeSlider|widget.UI.RangeSlider]] method.~~This control shows a horizontal "track" along which a "thumb" can be moved to represent a number value within the specified max and min ranges.
WidgetControls.Tabs|Object||Represents a Tabs control created using the [[widget.UI.Tabs|widget.UI.Tabs]] method.~~This allows for both wizard-style tabs (in which you never see the tabs) and normal tabs (in which the tabs are shown at the top of the control).
WidgetControls.Tabs.RefreshFromArray|Method|tabs,array,False,An array of objects containing tab details.,|Refresh the tabs collection from an array of objects.
WidgetControls.Tabs.TabVisible|Method|tabId,String,False,The tabId.,~visible,Boolean,False,Tab visibility.,|Set a tab's visibility.~~{{W|This does nothing if the Tabs control is configured to be in "wizard" mode.}}
WidgetControls.TextBox|Object||Represents a TextBox control created using the [[widget.UI.TextBox|widget.UI.TextBox]] method.~~This control allows single or multi-line text entry and can optionally mask the input for password entry.
WidgetForms.AccountSchedule|||The Account Schedule form is displayed using the [[widget.UI.Forms.ShowAccountSchedule|widget.UI.Forms.ShowAccountSchedule]] method.
WidgetForms.CompanyLookup|||The Company Lookup form is displayed using the [[widget.UI.Forms.ShowCompanyLookup|widget.UI.Forms.ShowCompanyLookup]] method.~~It provides a lookup mechanism for company searches, e.g., the NZ government service.
WidgetForms.RangeLookup|||The Range Lookup form is displayed using methods such as  [[widget.UI.Forms.ShowRangeLookupFromStandardRange|widget.UI.Forms.ShowRangeLookupFromStandardRange]].~~It displays the Range Lookup form which allows the User to select or enter a range of items based on a Standard Range, e.g., "Account Types".
Tags.Angular|||
CSS.Symbols|||
WidgetControls.AccountFinancial.ReadOnly|Property||The read-only state of this control.
WidgetControls.AccountFinancial.InterestPaymentType|Property||The Interest Payment Type Enum value, e.g., "DirectCredit".<br>--NOTE: This is generally just the display value with spaces removed.--
WidgetControls.AccountFinancial.TermCycle|Property||The Term Cycle.
WidgetControls.AccountFinancial.Visible|Property||The visible state of this control.
WidgetControls.AccountFinancial.Focus|Method|?|Focuses the first sub-control.
WidgetControls.AccountFinancial.FromAccountCalcJson|Method|?|Loads content from a JSON formatted ''finAccountCalc'' object.<br>--Use the business layer ''finAccountCalc.ToHtmlWidgetJsonString'' method to get this JSON string.--
WidgetControls.AccountFinancial.ToAccountCalc|Method|?|Gets a JavaScript object representing the details stored in this control.<br>--Use the business layer ''finAccountCalc.FromHtmlWidgetJsonString'' method to update the ''finAccountCalc'' object from a stringified version of this object.--
WidgetControls.AccountFinancial.ToAccountCalcJson|Method|?|Gets a JSON formatted string representing the details stored in this control.<br>--Use the business layer ''finAccountCalc.FromHtmlWidgetJsonString'' method to update the ''finAccountCalc'' object.--
WidgetControls.AccountIncomingPaymentDetails.ReadOnly|Property||The read-only state of this control.
WidgetControls.AccountIncomingPaymentDetails.Visible|Property||The visible state of this control.
WidgetControls.AccountIncomingPaymentDetails.Focus|Method|?|Focuses the Payment Method sub-control.
WidgetControls.AccountIncomingPaymentDetails.Initialise|Method|?|Initialise the control for a specific Account.
WidgetControls.AccountIncomingPaymentDetails.LoadAccountDetailsSmart|Method|?|Load control details based on the current Payment Method. This looks at the Account's Transaction history etc to determine "smart" defaults.<br>--This uses the business layer ''finAccount.GetBankingDetails'' method.--
WidgetControls.AccountIncomingPaymentDetails.WidthResizeFromParent|Method|?|Resizes the control and all relevant child-controls.
WidgetControls.Calendar.Value|Property||The UTC date selected in the control.
WidgetControls.Calendar.Focus|Method|?|Give this control input focus.
WidgetControls.Calendar.GotoDate|Method|?|Go to the correct calendar page for the specified date.
WidgetControls.Calendar.GotoValue|Method|?|Go to the correct calendar page for the current value.
WidgetControls.Calendar.MarkersSet|Method|?|Specify an array of markers to highlight different dates.
WidgetControls.CheckBox.AllowBlank|Property||Indicates whether this control can be left blank (unchecked).
WidgetControls.CheckBox.Caption|Property||The display caption of this control.
WidgetControls.CheckBox.ReadOnly|Property||The read-only state of this control.
WidgetControls.CheckBox.Visible|Property||The visible state of this control.
WidgetControls.CheckBox.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.CheckBox.Focus|Method|?|Give this control input focus.
WidgetControls.CheckList.AllowBlank|Property||Indicates whether this control must have a value entered or can remain blank.
WidgetControls.CheckList.AutoReadOnly|Property||Indicates whether, when enabling or disabling a form, this control's read-only state is set automatically.
WidgetControls.CheckList.Caption|Property||The display caption of this control.
WidgetControls.CheckList.ReadOnly|Property||The read-only state of this control.
WidgetControls.CheckList.Sorted|Property||Indicates whether the list items should be sorted alphabetically.
WidgetControls.CheckList.Text|Property||A comma-separated list of items checked in the control.
WidgetControls.CheckList.Visible|Property||The visible state of this control.
WidgetControls.CheckList.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.CheckList.Focus|Method|?|Give this control input focus.
WidgetControls.CheckList.ListFromArray|Method|?|Refresh the list from a JavaScript array (of string values).
WidgetControls.CheckList.ListFromCsvString|Method|?|Refresh the list from a comma-separated list of values.
WidgetControls.CheckList.ListToCsvString|Method|?|Get the current list as a comma-separated list of values.
WidgetControls.ComboBox.AllowBlank|Property||Indicates whether this control must have a value entered or can remain blank.
WidgetControls.ComboBox.AutoReadOnly|Property||Indicates whether, when enabling or disabling a form, this control's read-only state is set automatically.
WidgetControls.ComboBox.BlankTip|Property||The text to display when no value is entered.
WidgetControls.ComboBox.Caption|Property||The display caption of this control.
WidgetControls.ComboBox.LimitToList|Property||Indicates whether values entered should be limited to those displayed in the dropdown list.
WidgetControls.ComboBox.ListIndex|Property||The zero-based index of the control's value in the list or -1 if the value does not exist in the list.
WidgetControls.ComboBox.ReadOnly|Property||The read-only state of this control.
WidgetControls.ComboBox.Text|Property||The text entered in the control.
WidgetControls.ComboBox.Visible|Property||The visible state of this control.
WidgetControls.ComboBox.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.ComboBox.DropdownShow|Method|?|Show the dropdown list.
WidgetControls.ComboBox.Focus|Method|?|Give this control input focus.
WidgetControls.ComboBox.ListExists|Method|?|Checks to see if a value exists in the list.
WidgetControls.ComboBox.ListFromArray|Method|?|Refresh the dropdown list from a JavaScript array (of string values).
WidgetControls.ComboBox.ListFromCodeDescriptionList|Method|?|Refresh the dropdown list from either a JavaScript collection (an array of objects containing both "Code" and "Description" properties) or from a JSON formatted version of this object.
WidgetControls.ComboBox.ListFromCollection|Method|?|Refresh the dropdown list from a JavaScript collection (an array of objects).
WidgetControls.ComboBox.ListFromCsvString|Method|?|Refresh the dropdown list from a comma-separated list of values.
WidgetControls.ComboBox.WidthResizeFromParent|Method|?|Resize this control from it's container (parent) element based on the ''maxLength'' property.
WidgetControls.DateBox.AllowBlank|Property||Indicates whether this control must have a value entered or can remain blank.
WidgetControls.DateBox.BlankTip|Property||The text to display when no value is entered.
WidgetControls.DateBox.Caption|Property||The display caption of this control.
WidgetControls.DateBox.MaxValue|Property||The maximum value allowed to be entered in the control.<br>--This will produce a validation message when the form is validated if the value is out of range--
WidgetControls.DateBox.MinValue|Property||The minimum value allowed to be entered in the control.<br>--This will produce a validation message when the form is validated if the value is out of range--
WidgetControls.DateBox.ReadOnly|Property||The read-only state of this control.
WidgetControls.DateBox.Value|Property||The UTC date entered in the control.<br>-- Can also be set to "now" or "today"
WidgetControls.DateBox.ValueAsISOString|Property||Gets the value as an ISO 8601 formatted string.
WidgetControls.DateBox.Visible|Property||The visible state of this control.
WidgetControls.DateBox.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.DateBox.Focus|Method|?|Give this control input focus.
WidgetControls.DBCombo.AllowBlank|Property||Indicates whether this control must have a value entered or can remain blank.
WidgetControls.DBCombo.AutoReadOnly|Property||Indicates whether, when enabling or disabling a form, this control's read-only state is set automatically.
WidgetControls.DBCombo.BlankTip|Property||The text to display when no value is entered.
WidgetControls.DBCombo.BlankTipDescription|Property||The description to display when no value is entered.
WidgetControls.DBCombo.Caption|Property||The display caption of this control.
WidgetControls.DBCombo.DropdownShowing|Property||Indicates whether the dropdown list is currently showing.
WidgetControls.DBCombo.IsSpecialStandardRange|Property||Indicates whether this control has been refreshed from a special Standard Range that does not provide a dropdown, e.g., Accounts, AccountApps, Clients, SecurityStmts.
WidgetControls.DBCombo.LimitToList|Property||Indicates whether values entered should be limited to those displayed in the dropdown list.
WidgetControls.DBCombo.ListIndex|Property||The zero-based index of the control's value in the list or -1 if the value does not exist in the list.<br>{{w|This value may not be available if the list is being loaded on demand.}}
WidgetControls.DBCombo.MaxLength|Property||The maximum number of characters that can be entered.
WidgetControls.DBCombo.ReadOnly|Property||The read-only state of this control.
WidgetControls.DBCombo.ShowDescription|Property||Indicates whether a description label should be displayed after the text entry portion.
WidgetControls.DBCombo.ShowDropdown|Property||Indicates whether to show the dropdown button.
WidgetControls.DBCombo.Visible|Property||The visible state of this control.
WidgetControls.DBCombo.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.DBCombo.DropdownShow|Method|?|Show the dropdown list.
WidgetControls.DBCombo.Focus|Method|?|Give this control input focus.
WidgetControls.DBCombo.GetDescription|Method|?|Get the description displayed in this control.<br>--WARNING: Since this is often returned asynchronously, use with caution since it may well return a blank string.--
WidgetControls.DBCombo.ListExists|Method|?|Checks to see if the specified value exists in this control's list.
WidgetControls.DBCombo.ListFromCsvString|Method|?|Updates this control's list from a comma-separated list of values.
WidgetControls.DBCombo.WidthResizeFromParent|Method|?|Resize this control from it's container (parent) element.
WidgetControls.Grid.ActiveDataRowIndex|Property||The index of the active data row as displayed in the grid.
WidgetControls.Grid.ActiveDataRowListIndex|Property||The index of the active data row as stored in the underlying collection that the grid is bound to.
WidgetControls.Grid.ColumnCount|Property||The number of columns that have been added to the grid.
WidgetControls.Grid.ExportFileName|Property||The file name (excluding extension) used when exporting grid data.
WidgetControls.Grid.Visible|Property||The visible state of this control.
WidgetControls.Grid.ActivateFirstDataRow|Method|?|Activate the first data row.
WidgetControls.Grid.ActivateLastDataRow|Method|?|Activate the last data row.
WidgetControls.Grid.AddColumnBoolean|Method|?|Add a Boolean column.
WidgetControls.Grid.AddColumnCode|Method|?|Add a Code (special type of String to display a record code) column.
WidgetControls.Grid.AddColumnColourFlag|Method|?|Add an special icon column that renders an HTML colour value as a flag.
WidgetControls.Grid.AddColumnCurrency|Method|?|Add a Currency column.
WidgetControls.Grid.AddColumnDate|Method|?|Add a Date column.
WidgetControls.Grid.AddColumnDouble|Method|?|Add a Double-precision numberic column, using the ''decimals'' option to specify the number of decimal places to display.
WidgetControls.Grid.AddColumnDrilldown|Method|?|Add a Drilldown column.
WidgetControls.Grid.AddColumnHtml|Method|?|Add an HTML column.
WidgetControls.Grid.AddColumnIcon|Method|?|Add an Icon column.
WidgetControls.Grid.AddColumnInteger|Method|?|Add an Integer column.
WidgetControls.Grid.ClearColumns|Method|?|Remove all programatically created columns.
WidgetControls.Grid.ColumnVisible|Method|?|Set a Column's visibility.<br>--You must refresh the Grid to display updates.--
WidgetControls.Grid.Focus|Method|?|Give this control input focus.
WidgetControls.Grid.GetColumnByIndex|Method|?|Get a grid column based upon it's zero-based index in the collection.
WidgetControls.Grid.GetColumnByKey|Method|?|Get a grid column based upon it's case-insensitive key.
WidgetControls.Grid.GetSelectedRowDetailsFromUniqueProperty|Method|?|Get an array of selected row details based on a unique property in the underying collection the grid is bound to.
WidgetControls.Grid.GetSelectedRowIndexes|Method|?|Get an array of selected row indexes.
WidgetControls.Grid.GetVirtualClass|Method|?|Gets the class that this grid has been bound to via the VirtualDataRefresh method.
WidgetControls.Grid.MergeColumnHeaders|Method|?|Merge one or more column headers providing the columns are adjacent.
WidgetControls.Grid.RefreshButtons|Method|?|Refresh the grid's button strip to show changes in button state (e.g., visible, enabled).
WidgetControls.Grid.RefreshRow|Method|?|Refresh the a grid row (cause the ''InitialiseRow'' method to be called) for the specified row.
WidgetControls.Grid.RemoveRowAndCollectionItem|Method|?|Remove a grid row and also the item from the underlying array or collection that the grid is bound to.
WidgetControls.Grid.RemoveSelectedRowsAndCollectionItems|Method|?|Remove selected grid rows and also the items from the underlying array or collection that the grid is bound to.
WidgetControls.Grid.RowMoveDown|Method|?|Move the active grid row down in both the grid and the underlying collection.
WidgetControls.Grid.RowMoveUp|Method|?|Move the active grid row up in both the grid and the underlying collection.
WidgetControls.Grid.SearchClear|Method|?|Clear the grid's searh (filter) box.
WidgetControls.Grid.SetColumnCollection|Method|?|Set a column's Collection, i.e., the 'collection', 'idColumn' and 'columns' options passed in when the column was defined.
WidgetControls.Grid.SetColumnList|Method|?|Set a column's List, i.e., the 'list' option passed in when the column was defined.
WidgetControls.Grid.SetColumnListCsv|Method|?|Set a column's CSV List, i.e., the 'listCsv' option passed in when the column was defined.
WidgetControls.Grid.SetSelectedRowDetailsFromUniqueProperty|Method|?|Set selected rows from the specified array and, optionally, clear the selected state of existing rows first.
WidgetControls.Grid.SetSelectedRowIndexes|Method|?|Set selected row indexes from the specified array and, optionally, clear the selected state of existing rows first.<br>--WARNING: Do not use on sortable or grouped grids.--
WidgetControls.Grid.VirtualDataRefresh|Method|?|Bind the grid to a collection.
WidgetControls.InformationListComboBox.BlankList|Property||A comma-separated list of values to use if an information list is not specified when calling ''SetComboFromInformationList'' or the specified information list contains no items.
WidgetControls.InformationListComboBox.Caption|Property||The display caption of this control.
WidgetControls.InformationListComboBox.LimitToList|Property||Indicates whether values entered should be limited to those displayed in the dropdown list.
WidgetControls.InformationListComboBox.MaxLength|Property||Indicates the maximum length of text for the control. It can also be used in conjunction with the ''OverrideMaxLength'' property.
WidgetControls.InformationListComboBox.OverrideMaxLength|Property||If ''True'', the maximum length specified by the Information List will be ignored and the ''MaxLength'' property will be used instead. This is applied when ''SetComboFromInformationList'' is called.
WidgetControls.InformationListComboBox.ReadOnly|Property||The read-only state of this control.
WidgetControls.InformationListComboBox.Text|Property||The text entered in the control.
WidgetControls.InformationListComboBox.Visible|Property||The visible state of this control.
WidgetControls.InformationListComboBox.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.InformationListComboBox.Focus|Method|?|Give this control input focus.
WidgetControls.InformationListComboBox.WidthResizeFromParent|Method|?|Resize this control's width based on its parent container.
WidgetControls.Label.Html|Property||The display HTML of this control.<br>--NOTE: Generally, you would use the Text property since this avoids having to HTML Encode content.--
WidgetControls.Label.Text|Property||The display text of this control.
WidgetControls.Label.Visible|Property||The visible state of this control.
WidgetControls.Label.TooltipText|Property||The tooltip HTML to display when hovering over the control or clicking the information icon to the right of a section heading label.<br>--NOTE: Generally, you would use the TooltipText property since this avoids having to HTML Encode content.--
WidgetControls.Label.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.Modal.Actions|Property||A collection of Actions (buttons and other actions) to display in the Modal.<br>--Actions can be displayed as buttons such as "OK" and "Cancel", others as a popup menu--
WidgetControls.Modal.CloseOnEscape|Property||Indicates whether this Modal was created with the "closeOnEscape" option set to true.
WidgetControls.Modal.ModalId|Property||A unique Id generated for the Modal form.<br>--This is used by the RenderView method to prefix element ids to ensure they are unique.--
WidgetControls.Modal.Close|Method|?|Close the Modal form.
WidgetControls.Modal.Hide|Method|?|Hide the Modal form without actually closing it.
WidgetControls.Modal.LoadPortalPage|Method|?|Load a Portal Page into the Modal form.<br>--NOTE: Only available when running from a Portal rather than an HTML Widget.--
WidgetControls.Modal.RenderView|Method|?|Render dynamically loaded HTML within the Modal form.
WidgetControls.NumberBox.BlankTip|Property||The text to display when no value is entered.
WidgetControls.NumberBox.Buttons|Property||A Button Strip that can be displayed after this control.
WidgetControls.NumberBox.Caption|Property||The display caption of this control.
WidgetControls.NumberBox.Decimals|Property||The number of decimal places to show or -1 to use the Currency decimal places for this database.
WidgetControls.NumberBox.FontBold|Property||The bold state of this control's label and data-entry font.
WidgetControls.NumberBox.MaxValue|Property||The maximum value allowed to be entered in the control.<br>--This will produce a validation message when the form is validated if the value is out of range--
WidgetControls.NumberBox.MinValue|Property||The minimum value allowed to be entered in the control.<br>--This will produce a validation message when the form is validated if the value is out of range--
WidgetControls.NumberBox.ReadOnly|Property||The read-only state of this control.
WidgetControls.NumberBox.Value|Property||The value entered in the control.
WidgetControls.NumberBox.ValueIsBlank|Property||Indicates whether a blank value is entered in the control.
WidgetControls.NumberBox.Visible|Property||The visible state of this control.
WidgetControls.NumberBox.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.NumberBox.ButtonsDefine|Method|?|A shortcut to the ButtonsDefine method of the [[widget.UI.ButtonStrip|Buttons]] property.
WidgetControls.NumberBox.ButtonVisible|Method|?|A shortcut to the ButtonVisible method of the [[widget.UI.ButtonStrip|Buttons]] property.
WidgetControls.NumberBox.Focus|Method|?|Give this control input focus.
WidgetControls.NumberBox.WidthResizeFromParent|Method|?|Resize this control's width based on its parent container.
WidgetControls.ParametersHost.--|Property||true
WidgetControls.ParametersHost.Focus|Method|?|Give the first control input focus.
WidgetControls.ParametersHost.GetParameterValues|Method|?|Get a JavaScript object containing all parameter values.
WidgetControls.ParametersHost.GetParameterValuesWithTypes|Method|?|Get a JavaScript object containing all parameter values and their types.
WidgetControls.ParametersHost.ParameterExists|Method|?|Check whether a parameter with the specified name exists.
WidgetControls.ParametersHost.SetParameterReadOnlyByName|Method|?|Set a parameter's read-only state given it's name.
WidgetControls.ParametersHost.SetParameterValueByName|Method|?|Set a parameter's value given it's name.
WidgetControls.ParametersHost.UpdateParameterValues|Method|?|Update the control values with a JSON serialised ''ISKeyValueList'' collection.
WidgetControls.ParametersHost.Validate|Method|?|Validate Date Range and Number Range parameters, e.g., to ensure From and To value are not the wrong way round.
WidgetControls.RangeSlider.Caption|Property||The display caption of this control.
WidgetControls.RangeSlider.MaxValue|Property||The maximum value.
WidgetControls.RangeSlider.MinValue|Property||The minimum value.
WidgetControls.RangeSlider.ReadOnly|Property||The read-only state of this control.
WidgetControls.RangeSlider.Step|Property||The step value, i.e., when sliding the thumb, the value it is increased or decreased by.
WidgetControls.RangeSlider.Value|Property||The value (represented by the thumb position).
WidgetControls.RangeSlider.Visible|Property||The visible state of this control.
WidgetControls.RangeSlider.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.RangeSlider.Focus|Method|?|Give this control input focus.
WidgetControls.RangeSlider.GetThumbWidth|Method|?|Get the thumb width in pixels.<br>--WARNING: This relies upon fixed, known values and will not work if CSS has been used to modify the size of the thumb--
WidgetControls.RangeSlider.GetWidth|Method|?|Get the control width in pixels.<br>--WARNING: The control must be visible for this to return a reliable value--
WidgetControls.RangeSlider.PositionElementAtThumb|Method|?|Positions a jQuery element horizontally based on the thumb position.<br>--WARNING: The element must be absolutely positioned--
WidgetControls.Tabs.SelectedTabId|Property||The id of the selected tab.
WidgetControls.Tabs.SelectedTabIndex|Property||The index of the selected tab or -1 if no tab is selected.
WidgetControls.Tabs.TabCount|Property||The number of tabs in the control.
WidgetControls.Tabs.Visible|Property||The visible state of this control.
WidgetControls.Tabs.FocusFirst|Method|?|Give the first visible control on the current tab page input focus.
WidgetControls.Tabs.GetSelectedPageElement|Method|?|Get the jQuery element for the page associated with the selected tab.
WidgetControls.Tabs.SelectFirstVisibleTab|Method|?|Select the first visible tab for non-wizard style tabs.
WidgetControls.Tabs.TabCaption|Method|?|Set a tab's caption.
WidgetControls.Tabs.Validate|Method|?|Validate tab controls for either the current page or all pages.
WidgetControls.TextBox.AllowBlank|Property||Indicates whether this control must have a value entered or can remain blank.
WidgetControls.TextBox.AutoReadOnly|Property||Indicates whether, when enabling or disabling a form, this control's read-only state is set automatically.
WidgetControls.TextBox.Buttons|Property||A Button Strip that can be displayed after this control.
WidgetControls.TextBox.Caption|Property||The display caption of this control.
WidgetControls.TextBox.DataType|Property||The data type that should be automatically validated and, optionally, reformatted. One of:<br>''companynumber'', ''email'', ''phone'', ''taxnumberindividual'', ''taxnumberorganisation''
WidgetControls.TextBox.DataTypeReformat|Property||Indicates whether to automatically reformat the value where applicable, e.g., a phone number<br><br>''true'' will format automatically, ''null'' (default) will prompt to reformat.
WidgetControls.TextBox.ReadOnly|Property||The read-only state of this control.
WidgetControls.TextBox.Text|Property||The text entered in the control.
WidgetControls.TextBox.Visible|Property||The visible state of this control.
WidgetControls.TextBox.VisibleRow|Property||The visible state of the table row (if applicable) containing this control.
WidgetControls.TextBox.ButtonsDefine|Method|?|A shortcut to the ButtonsDefine method of the [[widget.UI.ButtonStrip|Buttons]] property.
WidgetControls.TextBox.DataTypeValidate|Method|?|Validate based upon the control's ''dataType'' option and optionally reformat the value.
WidgetControls.TextBox.Focus|Method|?|Give this control input focus.
WidgetControls.TextBox.ResizeFromParent|Method|?|Resize this control's width and height (for multi-line text boxes) based on its parent container.
WidgetControls.TextBox.TagsListDefine|Method|?|Define a list of replaceable tags from a JavaScript array of objects with a ''caption'' and ''value'' property.
WidgetControls.TextBox.TagsListDefineFromCodeDescriptionList|Method|?|Define a list of replaceable tags from a serialised ''ISCodeDescriptionList'' object.
WidgetControls.TextBox.WidthResizeFromParent|Method|?|Resize this control's width based on its parent container.
widget.ActionNotificationHandle|Method|?|
widget.ActionNotificationSend|Method|?|
widget.FormatDateTime|Method|?|Format a Date and Time.
widget.FormatDateForGrid|Method|?|Format a Date and Time for displaying in a grid. This always displays the UTC values.
widget.FormatUtcDateTime|Method|?|Format a Date and Time showing the UTC values.
widget.FormatTime|Method|?|Format a date to display the time portion.
widget.IsAuthenticated|Method|?|If this returns ''false'' then the User has been signed out in the background (e.g., due to session timeout) and therefore there is no point in making any server-side calls.
widget.IsColourDark|Method|?|Determine whether the passed in string containing an HTML hex-formatted colour is dark.
widget.IsColourLight|Method|?|Determine whether the passed in string containing an HTML hex-formatted colour is light.
widget.LTrim|Method|?|Remove leading spaces from a string.
widget.NotificationAdd|Method|?|
widget.ParseCurrency|Method|?|Parse a string representing a currency and return a number value.
widget.ParseDate|Method|?|Parse a string representing a date and return a date value.
widget.ParseNumber|Method|?|Parse a string representing a number and return a number value.
widget.ParseTime|Method|?|
widget.RegisterError|Method|?|
widget.Reset|Method|?|
widget.ResetScheduled|Method|?|
widget.ResetHandle|Method|?|
widget.RTrim|Method|?|Remove trailing spaces from a string.
widget.SetHeading|Method|?|Set the heading displayed in the window title bar when the Widget is displayed in a modal form.
widget.SetHeadingStyle|Method|?|
widget.SizeToFit|Method|?|
widget.SplitWordsAtCapitals|Method|?|Insert spaces between capital letters in a string.
widget.Trim|Method|?|Remove leading and trailing spaces from a string.
portal.AuthenticateClient|Method|?|Authenticate a finPOWER Connect Client.
portal.AuthenticateUser|Method|?|Authenticate a finPOWER Connect User.
portal.ChangePassword|Method|?|Change the current Client or User's Password.
portal.DownloadFile|Method|?|Call back to the Portal's Script Code to download a file.
portal.GetPlatformCompatibilityWarning|Method|?|Get a warning message relating to platform compatibility, e.g., to display on the Sign-In form.
portal.HandleApplicationShortcutUrls|Method|?|Automatically handle any Application Shortcuts (app://) in anchor tag href attributes.--
portal.HidePwaPrompt|Method|?|Hide the PWA Prompt if it is currently showing.
portal.ParentModalClose|Method|?|Close the parent Modal form if this Portal Page is displayed in a Modal form.
portal.PasswordResetFromToken|Method|?|Reset a Client or User's Password from a reset token.
portal.SendPasswordResetLink|Method|?|Send an email containing a link to reset a Client or User's Password.
portal.ShowPwaPrompt|Method|?|Show a device-specific PWA prompt providing the existing Web browser supports PWAs and this Portal is not already running as a PWA.
portal.SignIn|Method|?|Show the Sign-in Page.
portal.SignOut|Method|?|Sign Out and return to the Sign-In page.