COP Flex Application

2052
1
04-17-2012 02:19 PM
BartPouteau
Occasional Contributor
Where can I find the required structure for the deomographics mapservice referenced by the ERGChemicalWidget <demographicLayer>?
I'd like to create one using our own census data and have the widget pull from it instead.

Thanks.
Bart
Tags (1)
0 Kudos
1 Reply
MLowry
by
Occasional Contributor II
Where can I find the required structure for the deomographics mapservice referenced by the ERGChemicalWidget <demographicLayer>?
I'd like to create one using our own census data and have the widget pull from it instead.

Thanks.
Bart


At my place, we are using our own 2010 service.
This should be everything  you need to know:

Found in the .xml for the ERGChemicalWidget
  <demographicLayer>http:/MYSERVER/ArcGIS/rest/services/TEST/2010Blocks/MapServer/0</demographicLayer>
  <demoFields>TOTPOP,Males,Females,PopUnder5,Pop5to17,Pop18to21,Pop22to29,Pop30to39,Pop40to49,Pop50to64,PopOver64</demoFields>
  <summaryfield>TOTPOP</summaryfield>


And here in the chart part:
<chart>
    <series>PopUnder5,Pop5to17,Pop18to21,Pop22to29,Pop30to39,Pop40to49,Pop50to64,PopOver64</series>
    <seriesAlias>Age Under 5,Age 5-17,Age 18-21,Age 22-29,Age 30-39,Age 40-49,Age 50-64,Age 65-Up</seriesAlias>
    <series>Males,Females</series>
    <seriesAlias>Males,Females</seriesAlias>
  </chart>
0 Kudos