Enhanced Layer List - Metadata (7/17/17)

Discussion created by kmsagis on Jan 10, 2017
Latest reply on Mar 21, 2018 by kmsagis

Enhanced Layer List - Metadata Dialogs   (WAB 2.4)


Update July 2017: adds REST Link and 'No Information Available' features.


GitHub Link: GitHub - kevinsagis/EnhancedLayerList 


Demo Site:  Enhanced Layer List - Demo Site - Metadata Dialogs 


Enhanced Layer List adds metadata Dojo dialogs to display the Description and Copyright text fields from the REST service. This replaces the standard out-of-the-box function that opens a new tab or window to display the Esri REST Service page when a user clicks the "Description" item in the '...' menu on a layer in the Layer List widget, and displays these dialogs instead. This is more friendly to the end user. Also includes LayerListView.js autoexpand mod for the layerlist based on posts from Robert Scheitlin et al in


Files that were modified are in widgets\eLayerList\PopupMenu.js and PopupMenuInfo.js


It only displays Copyright if it's present. Same for Description. It won't display a Dialog if there is no description, such as for Group layer IDs.