Have you ever had a user ask if they could just label an item on the map by some arbitrary attribute without manually typing anything in? No? Damn, well I have, sucks for me.
Anyway, I had this tool already built as a standalone component, but decided to throw it into a widget so we could use it in a generic Flexviewer app that we have.
It basically works like this. Select a service from the Map. Select a layer from the selected Service. Select a field from that layer. Click add label and click on a feature in the layer. To get back to a different Service or Layer, click on the corresponding buttons above the list.
The tool uses the IdentifyTask so that I could use the tolerance capabilities for point features (big deal for me), so it only works with Services that support Identify. So no FeatureServer services, sorry. If I get around to it, I might be able to add QueryTask functionality for those special use cases, if it seems like a big deal for folks.