Mx.UI.Action

0
I have an application that has been upgraded from 9.24.16 to 10.6.13 and uses a scanbox since upgrading the scanbox no longer works and I receive the following error,   mx.ui.action is not a function TypeError: mx.ui.action is not a function    at j.<computed>.E._execMf (http://localhost:8080/widgets/ScanBox/widget/ScanBox.js?638621758118157293:169:23)    at j.<computed>.E._processValue (http://localhost:8080/widgets/ScanBox/widget/ScanBox.js?638621758118157293:137:22)    at j.<computed>.E.<anonymous> (http://localhost:8080/widgets/ScanBox/widget/ScanBox.js?638621758118157293:123:26)    at http://localhost:8080/mxclientsystem/mxui/mxui.js?638621758118157293:5:27376   I found a site that said change the .JS file to read mx.data.action but this also doesnt work can anyone advise please as there are no updates for this widget.
asked
1 answers
0

The function mx.ui.action no longer exists in the React Client API of Mendix 10.6, instead it needs to call mx.data.action like you already found.

You can check with the publisher of the widget (Emixa) to see if they are willing to provide support/update on the widget. If they won't, you can look up the source code on GitHub https://github.com/appronto/ScanBox, fork it and create your own version of the widget (I believe that the license is permissive enough to let you do that, but im not a lawyer ;)

(Personally I try to avoid widgets that only have a version 1.0.0 and no updates, this already introduces a risk since the widget was never updated since initial release)

answered