Source Code to Basic Widgets

827
2
Jump to solution
02-23-2022 10:50 AM
MichaelWen_Timmons
New Contributor III

I'm trying to develop a custom widget that has the functionality of the Lists widget in a tab.

Is there a way to bring in a basic widget as a component in your custom widget?

If that's not possible where can I find the source code for the basic widgets, so I can replicate the functionality? 

1 Solution

Accepted Solutions
Grant-S-Carroll
Esri Contributor

Hi @MichaelWen_Timmons  have you looked at the sample code in the GitHub repo which shows wrapping OOTB JSAPI widgets in to an Experience Builder widget?

https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/js-api-widget

If you are looking for the source code for the OOTB widgets in ExB, they can be found as per the pic below

GrantSCarroll_0-1645642551470.png

 

View solution in original post

2 Replies
Grant-S-Carroll
Esri Contributor

Hi @MichaelWen_Timmons  have you looked at the sample code in the GitHub repo which shows wrapping OOTB JSAPI widgets in to an Experience Builder widget?

https://github.com/Esri/arcgis-experience-builder-sdk-resources/tree/master/widgets/js-api-widget

If you are looking for the source code for the OOTB widgets in ExB, they can be found as per the pic below

GrantSCarroll_0-1645642551470.png

 

MichaelWen_Timmons
New Contributor III

Thank you very much. I didn't realize I already have it.

0 Kudos