Select to view content in your preferred language

Example of a custom widget for the javascript viewer

1071
4
10-11-2012 07:51 AM
NakishaFouch
Emerging Contributor
Am just curious if there are examples of adding a custom widget to the javascript viewer template?  I haven't really found anything around any of the esri sites and I am fairly new to javascript.  I have the code for the functionality of the new widget, I just need some insight on how to implement it via the custom widget and the organization of the custom widget code.

As always any info is greatly appreciated.
0 Kudos
4 Replies
SteveCole
Honored Contributor
Wouldn't this be it?..
0 Kudos
NakishaFouch
Emerging Contributor
I see the pre-defined widgets on that page, but no custom widgets.  Best I have found so far is the custom infowindow example...so I am trying to work off that.
0 Kudos
derekswingley1
Deactivated User
The Writing a Class and Writing a Custom Widget from our conceptual help should provide some insight.
0 Kudos
NakishaFouch
Emerging Contributor
Thanks Derek!  That was helpful, I think I get the just of it.  I want to add a button/widget that lets me upload shapefiles.  I am working off the portal example.  Am curious if this can also be used via our server instead of arcgis.com?
0 Kudos