[mapguide-users] Adding a new feature class to an already existing feature schema

Carl Jokl carl.jokl at keynetix.com
Tue Jul 15 09:01:18 EDT 2008


I wondered if anyone knows how to programatically add a new feature class
definition to an existing feature schema. All the example code I have goes
on the basis of creating the new class and the schema together in one step
but I don't have any examples of how to go about retrospectively adding a
new class to an existing feature schema.

I have so far got to the point of getting hold of an instance of the feature
service and using the DescribeSchema method to retrieve the schema I wish to
add to. I can get hold of the schema's class collection and add the new
class to this but I am not sure if that will persist the new feature class
or if I have to somehow persist the changes to the schema after adding the
new class to it. 

Has anyone done this / know how it needs to be done?
-- 
View this message in context: http://www.nabble.com/Adding-a-new-feature-class-to-an-already-existing-feature-schema-tp18464689p18464689.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list