An error is reported when accessing a custom function in the data painter of the TDM Portal. The custom function is created following the plugin template given on github.
Release : 4.10
Component : TDM Web Portal
The current code always converts the function name to lower case which is fixed in the patch TDMWeb-4.9.436.0.zip
As workaround following option is available:
Edit DataGeneratorCustomFunctions.json file, change function name to all lower case letters
(eg. CustomFunctionSUM -> customfunctionsum)
and restart Portal service.
After the restart use the function name in lower case.
With the patch in place the original function name can be used.
Also calling the custom function as @CustomFunctionSUM(55, 66)@ would throw error and it should be changed to @CustomFunctionSUM(55,66)@ (notice the removed space) because otherwise it'll throw an error that " 66" is not a number in their custom function. Alternatively code can be improved to add some trim calls for the input parameters.