Article Details
Id: | 14086 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.00.02 |
Opened: | 12/09/2016 |
Closed: | 13/09/2016 |
Released: | 07/10/2016 |
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.