Hi all,I am testing out latest TC BOM Component -widget that is available at Mendix Marketplace: TC BOM WidgetI have set a application flow so that I search for certain Item Revision from Teamcenter and then display the search results in Gallery in Mendix. When I select gallery, the related BOM of selected ItemRevision should be displayed on the BOM Widget. Issue is that when I set the search attribute and click search button to display the page with BOM widget, Mendix raises error and in Mendix console, there are two error logs (see below).Any idea what could be the reason for this? An error occurred while loading page 'TeamcenterExtensions.ItemRevisionSearchResultPage'. This likely means that the page includes a broken widget. Please check that all your widgets are React Client compatible and are valid ES modules.Cannot read properties of undefined (reading 'ReactCurrentBatchConfig') TypeError: Cannot read properties of undefined (reading 'ReactCurrentBatchConfig') at cpe (http://localhost:8080/dist/TeamcenterExtensions.ItemRevisionSearchResultPage-BTT4JwRs.js:594:17353) at p8 (http://localhost:8080/dist/TeamcenterExtensions.ItemRevisionSearchResultPage-BTT4JwRs.js:597:59551) at http://localhost:8080/dist/TeamcenterExtensions.ItemRevisionSearchResultPage-BTT4JwRs.js:597:59576An error occurred while executing an action of TeamcenterCore.Home_Web.actionButton1: Cannot read properties of undefined (reading 'ReactCurrentBatchConfig')Error: An error occurred while executing an action of TeamcenterCore.Home_Web.actionButton1: Cannot read properties of undefined (reading 'ReactCurrentBatchConfig') at http://localhost:8080/dist/ActionButton-Ckc5FCqw.js:271:157 at executeAction$1 (http://localhost:8080/dist/index-Dd5wdjHW.js:1933:15) at <unnamed action> (http://localhost:8080/dist/index-Dd5wdjHW.js:1914:12) at handleError$1 (http://localhost:8080/dist/ActionButton-Ckc5FCqw.js:57:20)
asked
Elias Körkkö
2 answers
0
Hi Elias Körkkö
I think that react client is enabled in your studio pro kindly disable it and check that this issue is raising it or not.
Go to App Settings → Runtime → React Client → set to No (or Migration Mode to see warnings instead of errors).
One more thing is check whether your are using the latest TC module.
I hope this helps
answered
Gurumoorthy J
0
One other thing to be aware of, is that the TC BOM widget relies on Teamcenter 2512. So if you are using an earlier version, you may have problems