hasRasterAttributeTable: mosaic dataset vs layer file

Discussion created by on May 4, 2014
So I created a mosaic dataset and published it to arcgis server.  The hasRasterAttributeTable property is set to true and I can see the attribute table with this link: http://<imageservice-url>/rasterAttributeTable.
However, if I save the mosaic dataset as a layer (lyr) file and then publish the layer file, the hasRasterAttributeTable property is set to false and http://<imageservice-url>/rasterAttributeTable doesn't work.
Why is this and how can I get the raster attribute table to show up when I publish a layer file?
Thank you.