Showing posts with label Alfresco Share. Show all posts
Showing posts with label Alfresco Share. Show all posts

Wednesday, February 3, 2016

ACE501 Alfresco Certified Engineer Study guide


I have recently cleared the ACE501: Alfresco Certified Engineer on Jan 30, 2016. I’m sharing the details what I studied for this certification. Hope this can help you in preparing for the same.

Download the Blueprint for the ACE501 Exam to find out all the topics which you need to prepare for this certification. 
This certification is based on Alfresco 5.0.x version only.

The following lists the test competencies that are expected of an Alfresco Certified Engineer and the topics 
covered by each competency.

Alfresco API: This section is comprised of 5 questions. Topics covered are:

• CMIS

• REST API


Architectural Core: This section is comprised of 27 questions. Topics covered are:

• Core Architecture

• Authentication Subsystem

• Database

• Extending Alfresco

• Foundation Services API

• FreeMarker Template API

• JavaScript API

• Packaging Extensions

• Repository

• Security and Authentication

• SOLR

• Other Subsystems

Repository Customization: This section comprises 13 questions, distributed among the following topics:

• Content Modeling

• Event Models

• Rules and Actions

• Transformations

• Workflows


User Interface Customization: This section comprises 10 questions, distributed among the following topics:

• Aikau

• Alfresco Share UI Configuration

• Alfresco Share UI Customization

• Alfresco Share UI Framework


Webscripts: This section comprises 5 questions and covers the Webscript Framework.

NOTE: Guys, to clear this certification, you must have practical experience in Alfresco along with the preparation from those links.

To schedule the test, register @ http://www.pearsonvue.com/alfresco/

All the best!!

Saturday, November 30, 2013

Disable Download Action in offline editing



      How to disable Download Action in Document Library when a document is locked for offline editing?

Using Evaluator: evaluator.doclib.action.isWorkingCopy (An OOTB evaluator which checks whether a node is a working copy or not), we can configure Download Action to be visible or not in the UI.

Add the following entry in Alfresco_Home/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml file.

< !-- Document Library Actions config section -- >
< config evaluator="string-compare" condition="DocLibActions" >

    < !--
       Action definitions
    -- >
    < actions >
       
       < !-- Download document -- >
       < action id="document-download" type="link" label="actions.document.download" >
         
         < param name="href" >{downloadUrl}</ param >

       < !--
       Evaluator to Disable Download action when document is locked by a user
       -- >
          < evaluator negate="true" >evaluator.doclib.action.isWorkingCopy</ evaluator >
       </ action >


    </ actions >
</ config >

     For more info, refer following link: 

Disable Publish Action in Share Document Library


      How to disable Publish Action in Document Library for all the users?

Using Evaluator, we can configure Document Actions to be visible or not in the UI.

Add the following entry in Alfresco_Home/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml file.


< !-- Document Library Actions config section -- >
<config evaluator="string-compare" condition="DocLibActions">

    < !--
       Action definitions
    -- >
    < actions>

        < !-- Publish document -- >
         < action id="document-publish" type="javascript" label="actions.document.publish" >

            <param name="function">onActionPublish</param>

            < !--
             Evaluator to disable Pulish Document Action for all users.
            -- >
            < evaluator>evaluator.doclib.action.disableAction</ evaluator>

            < evaluator negate="true"> evaluator.doclib.action.isLocked</ evaluator>
         </ action>

    </ actions>
</ config>

evaluator.doclib.action.disableAction :  This is an OOTB evaluator which always return false.

For more info, refer following link:
OOTB evaluators: http://wiki.alfresco.com/wiki/Document_Library_Predefined_Evaluators

Thursday, January 3, 2013

Change default JMX passwords in Alfresco

How to change the default users’ passwords of JMX in Alfresco 4.0.x?

1) Stop Alfresco tomcat.
/var$ sudo /etc/init.d/tomcat6 stop

2) The default user access (For ReadOnly & ReadWrite) and password configurations are stored in
/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/alfresco-jmxrmi.access and
alfresco-/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/jmxrmi.password files.

Copy these files to tomcat/shared/classes/alfresco/extension directory.

/var$ sudo cp /var/lib/tomcat6/webapps/alfresco/WEBINF/
classes/alfresco/alfresco-jmxrmi.access /var/lib/tomcat6/shared/classes/alfresco/extension/alfresco-jmxrmi.access

/var$ sudo cp /var/lib/tomcat6/webapps/alfresco/WEBINF/
classes/alfresco/jmxrmi.password /var/lib/tomcat6/shared/classes/alfresco/extension/jmxrmi.password

Change the password for monitorRole & controlRole in
/var/lib/tomcat6/shared/classes/alfresco/extension/jmxrmi.password file.

monitorRole guestpwd123
controlRole adminpwd123

3) Add “alfresco.jmx.dir” property in /var/lib /tomcat6/shared/classes/alfresco-global.properties
file - pointing to a directory where you have copied alfresco-jmxrmi.access and
jmxrmi.password files.

### JMX Directory ###
alfresco.jmx.dir=/var/lib/tomcat6/shared/classes/alfresco/extension

4) Start Alfresco tomcat.
/var$ sudo /etc/init.d/tomcat6 start

Now, you can configure Alfresco using JMX Client (JConsole) by providing the above passwords.
Refer http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/tasks/jmx-access.html
for accessing remote Alfresco via JMX.

Make sure you have set correct port while connecting to Alfresco. The property
alfresco.rmi.services.port” defines the JMX port in alfresco-global.properties file.

### RMI service ports ###
alfresco.rmi.services.port=60601

So the JMX URL will be:
service:jmx:rmi:///jndi/rmi://<hostname>:60601/alfresco/jmxrmi

Where is the name of your host or IP address.

JMX Username: controlRole
JMX Password: adminpwd123

For more info, refer following links:
1) http://wiki.alfresco.com/wiki/JMX
2) http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/jmx-introconfig.html
3) http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/jmxenhance.html



In Association with Amazon.in