axonomy TermPart

Topics: Writing modules
Oct 21, 2011 at 8:01 PM

I'm trying to migrate taxonomies and their nested terms into orchard and I'm doing that thru code, but I'm can't save nested terms , what I want to save is like

World "taxonomy", Africa "term" and Egypt as nested term of Africa, now I can't save the term Egypt to bested nested from Africa, to be more specific I can't assign the parent term , I have tried this way

term.Container = parentTerm;

 Where parent term is the last saved Africa term, if any ideas I will be thankful

 

Coordinator
Oct 21, 2011 at 8:17 PM

You also need to reconstruct the Path property, but in your place I would do what the controller is doing, calling the ITaxonomyService

Oct 22, 2011 at 12:30 AM

Done , thanks sebastianros :)