Select to view content in your preferred language

Error in loading custom widget in webapp builder templates in Experience builder

983
1
09-04-2023 05:50 AM
Labels (2)
VaddineniSrinivasulu
New Contributor

I am building custom widget which wraps react component that is loaded via script tag inside widget.tsx file of custom widget.

The widget is working fine when it is used with blank templates of Experience builder. however when used in different templates like Webappbuilder classic, mapcentric etc,  widget is not loading and observed issuse in console like below

VaddineniSrinivasulu_0-1693831822842.png

 

Tags (1)
1 Reply
JeffreyThompson2
MVP Frequent Contributor

There is likely something in your widget that uses the same variable name as something in the ESRI code. Try following the links in the console errors and renaming any variables in conflict.

A related error was fixed this way.
https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojoloader-multipledefine-error-w...

GIS Developer
City of Arlington, Texas
0 Kudos