Running Alfresco AngularJS Application (0.5.1) without Activiti Explorer

This BLOG is explaining what all changes you need to make to start Alfresco AngularJS client without Activiti explorer.

Make sure that you are using the latest version of alfresco-community(5.2.a).

If you are using an older version, you need to enable CORS manually for alfresco AngularJS application to connect to your Alfresco repository.

This BLOG assumes that you have already generated AngularJS application by referring below links: (for prerequisites) and (for alfresco AngularJS application generation).

Related Blog: How to Integrate Ephesoft and Alfresco

You only want to use it as an ECM without installing Activiti. In order to achieve this follow the below steps:

1.  Find a file files.component.ts on a path ./app/components/files.
2.  Edit that file and replace the code of that file with the code given below :

 import { Component, ViewChild } from '@angular/core';
import { Router } from '@angular/router';
import { 
} from 'ng2-alfresco-documentlist';
 import { FormService } from 'ng2-activiti-form';
 declare let __moduleName: string;
 moduleId: __moduleName,
 selector: 'files-component',
 templateUrl: './files.component.html',
 styleUrls: ['./files.component.css'] 
 export class FilesComponent {
 currentPath: string = '/Sites/swsdp/documentLibrary';
 fileNodeId: any; 
 fileShowed: boolean = false;
 multipleFileUpload: boolean = false;
 folderUpload: boolean = false;
 acceptedFilesTypeShow: boolean = false;
 versioning: boolean = false;
 acceptedFilesType: string = '.jpg,.pdf,.js';
 documentList: DocumentList;
 constructor(private documentActions: DocumentActionsService,
 private formService: FormService,
 private router: Router) { 
 documentActions.setHandler('my-handler', this.myDocumentActionHandler.bind(this));
 myDocumentActionHandler(obj: any) { 
 window.alert('my custom action handler');
 myCustomAction1(event) { 
 alert('Custom document action for ' +;
 myFolderAction1(event) { 
 alert('Custom folder action for ' +;
 showFile(event) { 
 if (event.value.entry.isFile) { 
 this.fileNodeId =;
 this.fileShowed = true; } 
 else { 
 this.fileShowed = false;
 onFolderChanged(event?: any) { 
 if (event) { 
 this.currentPath = event.path;
 toggleMultipleFileUpload() { 
 this.multipleFileUpload = !this.multipleFileUpload;
 return this.multipleFileUpload;
 toggleFolder() { 
 this.multipleFileUpload = false;
 this.folderUpload = !this.folderUpload; return this.folderUpload;
 toggleAcceptedFilesType() {
 this.acceptedFilesTypeShow = !this.acceptedFilesTypeShow;
 return this.acceptedFilesTypeShow;
 toggleVersioning() { 
 this.versioning = !this.versioning; return this.versioning;
 viewActivitiForm(event?: any) { 

3.  Rebuild the project using the command “npm run build” from a command prompt.
4.  And start the app using “npm start command”.

In the login page, do not forget to disable the BPM toggle button.
Open URL.
Give appropriate credentials.

In case you are facing an issue, please feel free to comment on this BLOG and we will reply you at the earliest moment. Contact us Good luck!

A Preparation Guide for Alfresco Certified Engineer Test


A Preparation Guide for Alfresco Certified Engineer Test

This blog serves as a comprehensive preparation guide for individuals planning to take the Alfresco Certified Engineer test, offering valuable insights, resources, and tips to help them succeed in the certification exam.

Configuring OCR in Alfresco


Configuring OCR in Alfresco

This blog likely guides readers through the process of configuring Optical Character Recognition (OCR) in the Alfresco document management system, enabling text extraction from images and scanned documents for improved content search and accessibility.

Transform Your Business With Digital Enterprise Solutions

Contact us

Our Offices


401, One World West, Nr. Ambli T-Junction 200, S P Ring Road, Bopal, Ahmedabad, Gujarat 380058


Kemp House 160 City Road, London, United Kingdom EC1V 2NX


Nürnberger Str. 46 90579 Langenzenn Deutschland


Level 36 Riparian Plaza, 71 Eagle Street, Brisbane, QLD 4000


4411 Suwanee Dam road, Bld. 300 Ste. 350 Suwanee GA, 30024


Cube Work Space, 24 Hans Strijdom Avenue, Cape Town


101-Yes Business Tower, AI Barsha 1 - Dubai United Arab Emirates