NEW3.00.02 · Released 7 October 2016
NEWfinPOWER Connect
Released in
3.00.02
7 October 2016
  1. Opened12 Sep
  2. Closed13 Sep
  3. Released7 Oct
Article 14086 Job J018046

Scripts; HTML Widgets; Function signature changed to include 'requestInfo' parameter

The function signature for the beta HTML Widget type Scripts has been changed to include a 'requestInfo' parameter.

All system-supplied HTML Widgets have been updated.

The function signature is now:

Public Function Main(eventId As String, parametersJson As String, startUpParametersJson As String, hostingContext As isefinHtmlWidgetHostingContext, requestInfo As finScriptRequestInfo, ByRef returnValue As String) As Boolean

The finScriptRequestInfo has the following properties:

  • AuthenticatedUserId
  • AuthenticatedClientId
    • If Web Services are connected as a finPOWER Connect Client
  • AuthenticatedUserType
  • IsSecureConnection
    • This will always be True if the Widget is hosted in the finPOWER Connect desktop application.
    • True if hosted using HTTPS on the Web.