Select to view content in your preferred language

Request for Information - custom widget error message

153
3
a week ago
srikanthpilli
Emerging Contributor

Hello,

Created the first custom widget using Arc GIS Experience Builder V1.12 and then deployed to Portal for ArcGIS 11.2 as an item.

Now, when the widget gets loaded in the Experience Builder application - I am seeing the following message regarding the widget.

index.js:2 The widget, located at https://xxxxdev.xy.com/custom-view/, is not present within the "widgets" folder. If the widget utilizes the "import()" function to dynamically load modules, it is necessary to deploy both the widget itself and the "chunks" folder within the "widgets" directory.

Could you please provide your thoughts on it, If I am missing anything.

 

Thanks

Srikanth

0 Kudos
3 Replies
JeffreyThompson2
MVP Frequent Contributor

https://community.esri.com/t5/experience-builder-tips-and-tricks/registering-a-custom-widget-in-arcg...

Did you follow all the installation steps as outlined in this post, including using the compiled version of the Widget found in the client/dist-prod/widgets folder?

GIS Developer
City of Arlington, Texas
0 Kudos
srikanthpilli
Emerging Contributor

Thanks Jeff for the information.

I did followed all the steps that has been mentioned, but still getting the same error message.

 

-Srikanth

 

0 Kudos
JunshanLiu
Esri Contributor

Currently, it seems the widget is under the "custom-view," folder, can you put it under the "widgets/custom-view" folder?

0 Kudos