AnsweredAssumed Answered

import a custom model inside another custom model to inherit

Question asked by dmralfing on Dec 14, 2011
Latest reply on Jul 27, 2015 by ashtaka
I´ve created in Alfreso two new custom models, father and child. I have to put in the XML child file that imports the model father, but I don´t know how I have to do it. For example if I inherit from cm:content, it´s very easy and typical, I put <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>. But if I inherit from a custom type, what should I have to put?. In the father namespace i put <namespace uri="aaa.bbb.father" prefix="fat">, so I though that I have to put in the child file <import uri="aaa.bbb.father" prefix="fat">, so I guess I´m wrong because it doesn´t works…
what I have to do??

Outcomes