Adding a text label from a field in a layer's Attribute table

2736
1
02-22-2012 06:19 AM
RobertMcLain
New Contributor II
Is there a way to add a label from the "out of the box" Silverlight App. builder that displays a field from a feature in a map layer?

If not, is there some code that will accomplish this? 

Please send your suggestions.
0 Kudos
1 Reply
RobertMcLain
New Contributor II
Found the solution to my problem...

I created my labels from the layers in the table of contents in my mxd, then went through the 'Map Service Publishing' toobar to publish the service to the server.

My mistake was trying to individually add the layers from my map service (layers created from the mxd) into the Silverlight application builder, instead of adding the entire map service created from the mxd. When I add the entire service, the labels work. But, when the layers are added individually, they don't work.

R. McLain
0 Kudos