cancel
Showing results for 
Search instead for 
Did you mean: 

Activating custom model

tejaswini
Champ in-the-making
Champ in-the-making
hi there…
   i was trying to do activating the custom model.i was able to upload the file (.xml) in the Models space.but when i tried to edit the properties the active model check box i am not finding? where that check box appears? is the space name is Model or Models? as i am having "Models" ….
  thankx
2 REPLIES 2

janv
Employee
Employee
Which exact version/build are you running ? You may have hit the following issue:

http://issues.alfresco.com/jira/browse/ETHREEOH-3723

If so, then this should be resolved in Community build 2503 or higher. Here is the config change for reference:


svn diff -r18373:18374 projects/repository/config/alfresco/cache-context.xml
Index: projects/repository/config/alfresco/cache-context.xml
===================================================================
— projects/repository/config/alfresco/cache-context.xml   (revision 18373)
+++ projects/repository/config/alfresco/cache-context.xml (revision 18374)
@@ -323,11 +323,11 @@
   
    <bean name="nodeRulesSharedCache" class="org.alfresco.repo.cache.NullCache"/>
   
-   <!– The transactional cache for Parent Associations –>
+   <!– The transactional cache for Node Rules (shared cache must be null - ie. do not share across txns) –>
   
    <bean name="nodeRulesCache" class="org.alfresco.repo.cache.TransactionalCache">
       <property name="sharedCache">
-         <ref bean="parentAssocsSharedCache" />
+         <ref bean="nodeRulesSharedCache" />
       </property>
       <property name="cacheManager" >
          <ref bean="transactionalEHCacheManager" />


Regards,
Jan

janv
Employee
Employee

As a follow-on, it should be noted that dynamic custom models can be activated via Share. As an admin, navigate to Repository -> Data Dictionary -> Models and then "Edit Properties" (and select "Activate" checkbox) for the appropriate XML model file.

If you're not comfortable editing XML directly then you may wish to also try out the Share Model Manager (new since 5.1)

Content modeling with Model Manager | Alfresco Documentation 

However, please note - this will currently only manage models that were created via the Model Manager itself.

Regards,

Jan