AnsweredAssumed Answered

AMP/AMP model dependency

Question asked by stephenl on Jul 8, 2016
Latest reply on Jul 12, 2016 by stephenl

I'm just wondering if there's a way to have two AMPs and have a custom model in one dependent on a custom model in another? Using Eclipse I have previously built my root amp and have it sat in a dependency folder when I build and deploy my child AMP:


This all seems to work fine for the availability of the webscripts in the root AMP (at run-time) but not for referring to the root model even though it is declared as imported in the child model:

  <!– Import Alfresco Dictionary Definitions –>
  <import uri="" prefix="d" />
  <!– Import Alfresco Content Domain Model Definitions –>
  <import uri="" prefix="cm" />
<import uri="http://someurl/othercomponent/content/1.0" prefix="rootmodel" />

But I always get errors stating that rootmodel cannot be found.

Edit:Basically, what I'm aiming for is the ability to derive a child custom content type from one defined in the root AMP's custom content model.

Thanks a lot.