Home > Content Management System > Alfresco – Desktop Action

Alfresco – Desktop Action

How’s your Alfresco doing?

In my case, we’re going for implementation after weeks of testing and some modifications.

Well, I don’t want to see those CheckIn/Checout in every folder (and my user’s agree with me).  My users keeps asking me about it (wishper: I changed the File Server for some users without their knowledge for testing.  Don’t do this or your head will ROLL!).  For them Alfresco is like the same Windows File Server.  I like it that way for simplicity and I will introduce more functionality when we role out the entire Alfresco system.

NOTE:  To disable the feature, you have to put a comment on each property.

<– Enclosed in this arrow are comments
–>

1st – I want to change the Alfresco name into my company name.

Crate a file /opt/alfresco/tomcat/shared/classes/alfresco/extension/webclient_en_US.properties and put your company name

# cd /opt/alfresco/tomcat/shared/classes/alfresco/extension/
# vi webclient_en_US.properties

and put

company_home=Your Company Name

 

2nd – disable the URLFileName and the Desktop actions.  These are the extra files that you see in every folder and everytime you create a folder.  For me I don’t see them helping my users to deal with their files/folder.

Edit the /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/fileServers/default/file-servers-context.xml

# cd /opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/fileServers/default
# vi file-servers-context.xml

Look for the following and comment it like below

<!– Add a URL file to each folder that links back to the web client –>
<!–
<property name=”URLFileName”>
<value>__Alfresco.url</value>
</property>
–>

and for Desktop Actions

<!–
<bean>
<property name=”name”>
<value>CheckInOut</value>
</property>
<property name=”filename”>
<value>__CheckInOut.exe</value>
</property>
</bean>
<bean>
<property name=”name”>
<value>JavaScriptURL</value>
</property>
<property name=”filename”>
<value>__ShowDetails.exe</value>
</property>
<property name=”scriptName”>
<value>alfresco/desktop/showDetails.js</value>
</property>
</property>
<property name=”attributeList”>
<value>anyFiles</value>
</property>
<property name=”preprocess”>
<value>copyToTarget</value>
</property>
</bean>
–>

Restart your Alfresco and check your alfresco in windows file explorer.

How was it?  Now, it’s just like the old Windows File Server right?!

  1. alfresco user
    November 25, 2010 at 10:02 pm

    Better to override than alter files in WEB-INF which will get nuked if you redeploy/update. If you copy the XML file and move it to:

    TOMCAT_HOME/shared/classes/alfresco/extension/subsystems/fileServers/default/default/custom-file-servers-context.xml

    This will stick for future redeployments/updates.

  2. jacek
    August 25, 2011 at 1:27 pm

    VERY helpful post Thanks!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: