← alfresco
Result of the basic configuration will be an Alfresco system with following features:
Edit
button.This basic configuration starts with a fresh system installed like in installation.
Most settings and configurations can be managed outside of the alfresco.war
deployment. Others must be done within that folder. This of course results in a complex update procedure because instead of simply replace the alfresco.war
by a new version you have to redo all these steps inside the alfresco.war
folder to continue with the same environment as prior the update.
So all changings done inside the deployment folder are maked with
The extension folder for custom extension files is
JBOSS_HOME/server/default/conf/alfresco/extension
1).
This folder is called <extension>
in our Wiki.
Default configuration files are located in
JBOSS_HOME/server/default/deploy/alfresco.war/WEB-INF
and
JBOSS_HOME/server/default/deploy/alfresco.war/WEB-INF/classes/alfresco
The last one is called default
in our Wiki.
If you want to overwrite existing settings in your custom configuration you have to add the replace=“true”
attribute in the <config>
tag.
<default>/repository.properties
to<extension>/custom-repository.properties
custom-repository-context.xml.sample
from the extensions
folder inide thealfresco-community-war-2.9.0B
to <extension>/custom-repository-context.xml
.<extension>/custom-repository-context.xml
. Otherwise the Spring Framework will not start.root.dir
to /usr/share/alfresco/.alf_data. 2)JBOSS_HOME/server/default/deploy/alfresco.war/WEB-INF/classes/
log4j.properties
edit the File appender
definition for alfresco.log
and hibernate.log
to /var/log
.Per default editing of a document is a complex procedure. First you have to checkout the document inside the database. Then you can download the working copy to your local machine. Finally you open the local copy in the relevant application. To update the original you have to upload and thereafter checkin the document.
Each of these steps is implemented with a couple of JSF pages. That means you need a lot of clicks and steps just to open and edit a document.
Alfresco offers three options to handle an edit command.
<default>web-client-config.xml
to <extension>web-client-config-custom.xml
<extension>web-client-config-custom.xml
the edit-link-type
setting to CIFS
.One of Alfrescos greatest benefits is the built-in CIFS server. So you can interact with the Alfresco repository with standard filesystem methods.
<default>file-servers.xml
to <extension>file-servers-custom.xml
<extension>file-servers-custom.xml
remove all config blocks exeptreplace=“true”
attribut in these config tagsIn the default configuration the OOo service for document transformation is started separately in a shell script. The idea is of course to handle this service by Alfresco itself during the bootstrap routine.
DOESN'T WORK!!!
openoffice-startup-context.xml
from the/usr/share/alfresco/install-extensions
folder to <extension>/bootstrap
openoffice-startup-context.xml
<extension>/custom-repository.properties
from-email-address
in <extension>/web-client-config-custom.xml
<default>/emailserver/email-server.properties
to<extension>/custom-email-server.properties
<default>/emailserver/email-server-context.xml
to<extension>custom-email-server-context.xml
custom-email-server-context.xml
Answer
, Anser all
, Forward
actions on Email documents<default>/ntlm-authentication-context.xml
to<extension>/ntlm-authentication-context.xml
JBOSS_HOME/server/default/deploy/alfresco.war/WEB-INF/web.xml
toweb.xml.original
web.xml
uncomment NTLM filter and comment standard filtersldap-synchronisation-context.xml
andldap-synchronisation.properties
to <extension>
ldapInitialDirContextFactory
and relating settings for this bean (get it from ldap-authentication-context.xml
and ldap-authentication.properties
) instead of the existing alias.ldapSyncInitialDirContextFactory
<extension>/custom-authority-service-context.xml
add and check admin user names. They HAVE TO BE case sensitiv even if the Alfresco setting for user names is “not case sensitiv”.Alfresco user property | AD property name |
---|---|
company | organizationalId |
department | organization |
description | jobtitle |
Table 1 - property relation Alfresco AD:
Alfresco creates the homefolder for users imported via LDAP automatically. Unfortunately these homefolders are located in the Company Home
. This task address that problem and place the homefolders into User Homes
. Additionally the inner structure of such a homefolder will be taken out of a template.
<extension>/ldap-synchronisation.properties
setldap.synchronisation.defaultHomeFolderProvider=userHomesHomeFolderProvider
authentication-services-context.xml
to<extension>/custom-authentication-services-context.xml
userHomesHomeFolderProvider
addtemplatePath
. Point it to a folder which contains the user home template for example: <value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.childname}/cm:Homefolder</value><extension>ldap-synchronisation-context.xml
the propertyclearAllChildren
of ldapPeopleImport
MUST NOT set to true. 3)
Discussion