Article Details
Id: | 12840 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 2.03.00 |
Opened: | 28/04/2015 |
Closed: | 28/04/2015 |
Released: | 09/07/2015 |
Job: | J015346 |
Application Shortcuts; HtmlShow type Application Shortcut causes unhandled exception if URL is formatted incorrectly
When attempting to execute an HtmlShow type Application Shortcut with an incorrectly formatted URL, an unhandled exception may occur.
The following would generate an unhandled exception from a 'General (User Interface)' type Script:
Dim ApplicationShortcut As ISApplicationShortcut
ApplicationShortcut = finBL.CreateApplicationShortcutHtmlShowUrl("http%3A%2F%2Fwww.intersoft.co.nz%2FSupport%2FTSB.aspx?id=TSB1034")
userInterface.ExecuteApplicationShortcut(ApplicationShortcut)
NOTE: There are many other ways of displaying an HTML Viewer from the finPOWER Connect business layer; any of these could also cause the same error.
If an invalid URL is supplied, the HTML viewer will be displayed but no unhandled exception will now occur.