Article Details
Id:20159
Product:finPOWER Connect
Type:FIX
Version:4.00.02
Opened:05/04/2023
Closed:05/04/2023
Released:27/06/2023
Job: J030861
High Importance

HTML Widgets; Executing multiple Application Shortcuts from a single block of JavaScript will only run the last shortcut

Executing multiple Application Shortcuts from a single block of JavaScript will only run the last shortcut; all prior Application Shortcuts are ignored.

For example, if an HTML Widget ran the following code on the click event of a button:

widget.ExecuteApplicationShortcutUrl("app://formshow?form=Client&id=C10000");
widget.ExecuteApplicationShortcutUrl("app://formshow?form=ACCOUNT&id=L10000");

Only for Account form for L10000 would be opened.

NOTE: This only applies to desktop and is related to threading issues with the WebView2 control that our workarounds did not handle correctly.