AnsweredAssumed Answered

Display Specific Attributes of Feature Layers in CB Tree JS API

Question asked by mcsuran2332 on Feb 23, 2015
Latest reply on Mar 4, 2015 by mcsuran2332

Hey all,

 

This involves a custom JS Webapp that I am building.

 

Does anyone know how to utilize the CB Tree to be able to turn on and off specific attributes of a FeatureLayer from its attribute table?

 

For Example:

 

TOC

CapeMayElevationFeatureLayer

     Attribute: Year

          2014

          2013

          2012

     Attribute: Season

          Spring

          Fall

 

I can load FeatureLayers from a GDB MapService hosted on our server, but all attributes are displayed.

 

Thanks!

Outcomes