Config.xml is stored in the MapGuide repository as resource data. In PHP, it looks something like this:
$resourceService->SetResourceData($resourceID, "ConfigurationDocument" , "Stream", $dataByteSource->GetReader()); I've got a script that creates a config document and attaches it to a Resource in the repository: http://tinyurl.com/5fwc3v You can also look at the code for the Maestro authoring tool, or watch what it does using Fiddler2 as it creates these config files. Jason -----Original Message----- From: Dave Brett Subject: RE: [mapguide-users] Raster images in MGE 2009 1. The second arg for the Get/SetResourceData(MgResourdeIdentifier, string dataName) methods, where does this value come from or what should this be? when I execute the method I receive a "Resource data was not found: <dataName>". The exception is the same regardless of what the dataName arg value is. Obviously I am missing something here. 2. I can not find a config.xml anywhere on the file system. Before clicking "Test Connection" and Save, or After testing the connection and saving. Any suggestions? thanks, dave _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
