Dynamically changing layers by scale (generalisation using preset layers)?

Discussion created by gmichael on Mar 16, 2014
Latest reply on Mar 16, 2014 by crafty762

I am given 2 layers: polygons and points. In higher scale I want to display points, in lower - polygons.
I want to manage those 2 layers as a single one. E.g. every time I call the map service,  ESRI will send to the client
either point or polygon layer (according to scale), but for the client it will look like the same layer - it will have the same name etc.
I now I can manage this with some development over dynamic layers.
Is this functionality available off-the-box?