[mapguide-users] Create new column in data source
Jim O'Leary
joleary.public at gmail.com
Tue Sep 18 00:55:18 EDT 2007
I would like my user to be able to add a new column to a SHP / SDF file at
run time. I have the code from the GT sample that shows how to create a new
MgDataPropertyDefinition:
$textProperty = new MgDataPropertyDefinition('Text');
$textProperty->SetDataType(MgPropertyType::String);
$textProperty->SetReadOnly(false);
$textProperty->SetLength(255);
However, this code goes on to create a new class and then a new feature
source. I already have those, but want only to add this new column. Any
suggestions?
Thanks.
--
View this message in context: http://www.nabble.com/Create-new-column-in-data-source-tf4471689s16610.html#a12750006
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list