Hi,I'm creating a custom model, and I need to import site model. But I'm having problems with it:Caused by: org.alfresco.service.namespace.NamespaceException: URI http://www.alfresco.org/model/site/1.0 cannot be imported as it is not defined (with prefix st
I do have the import line in my <imports> tag: <import uri="http://www.alfresco.org/model/site/1.0" prefix="st" />
, but it still fails.The bean "extension.dictionaryBootstrap" has the depends-on clause for dictionary(depends-on="dictionaryBootstrap">
, but I suspect that's not it. What else am I missing?UPDATE: I got a PM asking how exactly I solved this issue, here is how:I edited alfresco/WEB-INF/classes/alfresco/site-services-context.xml
file and I added this:
<bean id="siteService_dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/model/siteModel.xml</value>
</list>
</property>
….