Hi Steve, I knew it failed because I had an echo immediately after the new MgResourceIdentifier creation and it didn't show.
I seemed to have fixed it with the following: $layerName = "DQN20042"; $layerName = rtrim($layerName); $tempID = "Session:" . $mgSessionId . '//' . $layerName . ".LayerDefinition"; $tempLayerResId = new MgResourceIdentifier($tempID); this is strange 'rtrim' since there wasn't any spaces.... gordon -- View this message in context: http://n2.nabble.com/Syntax-of-MgResourceIdentifier-tp4588434p4588618.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
