Hi Liglio, Sorry to have disturbed you but, what namespace did you use for Util.SetTagTextContent and where is the method GetLayerByName? Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284382p5284823.html Sent from the MapGuide Users mailing list archive at Nabble.com.