Showing results for 
Show  only  | Search instead for 
Did you mean: 

Owner package - Create Schema Form Content

New Contributor

Owner package - Create Schema Form Content

Hi all,


I work with MEGA 2009 SP5 patch11


How to define by default an "owner package" to a package stereotyped "XML Document Definition" when you create a schema directly from a content (Content/New/Schema) ?


Indeed, The package "XML Document Definition" is created but without "Owner Package". I try to modify the macro "createSchemaFromContent" by adding the instruction :


oPackage.GetCollection("~76NGuBcmoOO0[Owner Package] ").Add("~SgcvfyVuKT6Y[DATA] ")


but it seems that this statement is not taken into account. How to known if this macro is executed and linked to the menu (New/schema) ?


Best regards,