Select to view content in your preferred language

Display Specific Attributes of Feature Layers in CB Tree JS API

3679
1
02-23-2015 08:21 AM
MathewSuran
New Contributor III

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!

0 Kudos
1 Reply
MathewSuran
New Contributor III

Anyone have any expertise in setting up the store and parent:child relationships for the above example?

0 Kudos