How to add excel xlsx file and image file as assets to my custom widget

275
2
Jump to solution
02-12-2026 07:31 AM
Labels (2)
MichaelLev
Frequent Contributor

How to add excel xlsx file and image file as assets to my custom widget? where to place them and how to access them?

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Frequent Contributor

https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/use-assets

Here is the example Widget for using images or other assets. Pay attention to the folder structure and naming conventions to make it work properly.

JavaScript does not natively support xlsx, so if you want to do anything with your Excel file you will probably need a third-party package. A CSV file is lighter weight and easier to work with.

GIS Developer
City of Arlington, Texas

View solution in original post

2 Replies
JeffreyThompson2
MVP Frequent Contributor

https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/use-assets

Here is the example Widget for using images or other assets. Pay attention to the folder structure and naming conventions to make it work properly.

JavaScript does not natively support xlsx, so if you want to do anything with your Excel file you will probably need a third-party package. A CSV file is lighter weight and easier to work with.

GIS Developer
City of Arlington, Texas
MichaelLev
Frequent Contributor

@JeffreyThompson2 Thank you for your fast and valuable help!

Michael