06-11-2015 07:34 AM
rm-share-config-custom.xml
, and work with it like in the document management. It's possible because rm-context.xml
has this option in the configuration bean:
<bean id="rm.custom.config" class="org.springframework.extensions.config.ConfigBootstrap" init-method="register">
<property name="configService" ref="web.config" />
<property name="configs">
<list>
<value>classpath:alfresco/rm-share-config.xml</value>
<value>classpath:alfresco/rm-form-config.xml</value>
<value>classpath:alfresco/rm-share-workflow-form-config.xml</value>
<value>classpath:alfresco/rm-share-config-custom.xml</value>
</list>
</property>
</bean>
<bean id="rm.custom.config" class="org.springframework.extensions.config.ConfigBootstrap" init-method="register">
<property name="configService" ref="web.config" />
<property name="configs">
<list>
<value>classpath:alfresco/rm-share-config.xml</value>
<value>classpath:alfresco/rm-form-config.xml</value>
<value>classpath:alfresco/rm-share-workflow-form-config.xml</value>
</list>
</property>
</bean>
SEVERE: Exception starting filter Authentication Filter
org.springframework.extensions.config.ConfigException: 05110000 Unable to locate evaluator implementation for 'rm-kind' for org.springframework.extensions.config.ConfigSectionImpl@5b80848c (evaluator=rm-kind condition=RECORD replace=false)
at org.springframework.extensions.config.BaseConfigService.processSection(BaseConfigService.java:489)
at org.springframework.extensions.config.BaseConfigService.getConfig(BaseConfigService.java:228)
at org.springframework.extensions.config.BaseConfigService.getConfig(BaseConfigService.java:171)
at org.springframework.extensions.config.BaseConfigService.getConfig(BaseConfigService.java:166)
at org.alfresco.web.site.servlet.SSOAuthenticationFilter.init(SSOAuthenticationFilter.java:180)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
06-18-2015 08:38 AM
<!– Import Slingshot –>
<import resource="classpath*:alfresco/slingshot-application-context.xml" />
<import resource="classpath*:alfresco/slingshot-documentlibrary-context.xml" />
<import resource="classpath*:alfresco/web-extension/*-context.xml" />
<!– SURF: support for Surf application config –>
<import resource="classpath*:org/springframework/extensions/surf/application/*-context.xml" />
<!– SURF: support for custom application configuration overrides –>
<import resource="classpath*:org/springframework/extensions/surf/override/*-context.xml" />
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN'
'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="rm.custom.config" class="org.springframework.extensions.config.ConfigBootstrap" init-method="register">
<property name="configService" ref="web.config"/>
<property name="configs">
<list>
<value>classpath:alfresco/rm-share-config.xml</value>
<value>classpath:alfresco/rm-form-config.xml</value>
<value>classpath:alfresco/rm-share-workflow-form-config.xml</value>
<value>classpath:alfresco/rm-share-config-custom.xml</value>
</list>
</property>
</bean>
</beans>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.