Id: | 21996 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 6.00.00 |
Opened: | 16/12/2024 |
Closed: | 14/01/2025 |
Released: | 17/04/2025 |
Job: | J034883 |
Scripts; Web Page; Warning added for duplicate Web Service Name
If a Script has a Web Service name that matches another Scripts Web Service name or Script Id, it can cause issues in finPOWER Connect Cloud such as the following error:
HTML Widget or Custom Web Service 'EXAMPLE' is ambiguous since conflicting Scripts exist, i.e., a Script exists with this Script Id but a different Script exists with this Web Service Name.
A warning will now be shown next to the Web Service name field, when the script is saved, and in the Script Header if the Script Web Service name matches another Scripts Web Service name or Script Id.
Additionally, a function GetListOfScriptsByWebServiceName
has been added to ScriptFunctions
. This function takes a webServiceName
and optionally a scriptPk
. It looks for any Active Script (Excluding the given ScriptPk if provided) that has a webServiceName
or ScriptId
equal to the provided webServiceName
. It returns a list of matches (Script Ids) as an ISList.