Running Alfresco AngularJS Application (0.5.1) without Activiti Explorer

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:
https://github.com/Alfresco/alfresco-ng2-components/blob/master/PREREQUISITES.md (for prerequisites) and
https://github.com/Alfresco/generator-ng2-alfresco-app (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 { 
 DocumentActionsService,
 DocumentList 
} from 'ng2-alfresco-documentlist';
 import { FormService } from 'ng2-activiti-form';
 
 declare let __moduleName: string;
 
 @Component({ 
 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';
 @ViewChild(DocumentList) 
 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 ' + event.value.entry.name);
 } 
 
 myFolderAction1(event) { 
 alert('Custom folder action for ' + event.value.entry.name);
 } 
 
 showFile(event) { 
 if (event.value.entry.isFile) { 
 this.fileNodeId = event.value.entry.id;
 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) { 
 this.router.navigate(['/activiti/tasksnode', event.value.entry.id]);
 } 
}

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!

Contract Lifecycle Management System Using Alfresco ECM

Managing contracts that run from tens to thousands of pages with a number of clauses, terms, and amendments become tedious for an enterprise. The sole purpose of the contract is to define the business interaction. They tend to forecast expected revenue, control the procurement costs, manage the suppliers and the customers, establish the service levels and protect the intellectual property to mitigate the risks.

Contract processes in enterprises are determined by fragmented and labor-intensive processes, poor/low visibility in the terms and conditions as well as ineffective compliance management. ContCentric can provide Contract Lifecycle Management System (CLMS) solutions using Alfresco as the platform.

Related Blog: Why contract lifecycle management system is a must-have for your organization?

Following is a case study of a Financial Service organization to understand how Alfresco can address the CLMS requirement.

About Client:

The client is one of the largest financial services groups in Asia. The client provides the full range of financial services to large corporates, SME sector, consumer and wholesale banking activities across Asia and the Middle East.

The client has net earnings of over US $2 billion; operates in more than 15 countries, with over 5 million customers and 14,000 employees worldwide.

Business Need:

For the procurement department, the manual (paper-based) procurement and contract systems were affecting productivity and increasing risks & costs overheads.

The team made a business decision of deploying an online system for contract management for operational efficiency and transparency.

Key Challenges:

  • Time-consuming – the manual system was taking close to a month for the process of vendor enrolment through contract sign-off and releasing the purchase order. This was becoming a huge bottleneck in initiating a new vendor relationship
  • Poor vendor management – lack of auto-reminders in the existing manual system were resulting in a lack of visibility on contract renewal & termination, thereby impacting vendor relationships and the corporate image
  • Rework – Any changes resulted in rework and the need for data to be re-entered
  • Lack of physical security – all contracts and information was stored in filing cabinets, posing a real security threat
  • Excessive paperwork and duplication of effort – due to the inability to track contracts and transactions, the same data was being constantly re-entered

Solution:

Contract Lifecycle Management System (CLMS) using Alfresco ECM (Enterprise Content Management) was recommended. The client carried out an extensive comparative analysis of Alfresco over SAP, Ariba, and Oracle solutions and decided to develop Alfresco based ECM solution since there were many more architectural and technological benefits in addition to cost saving.

Technology:

  • Alfresco
  • PeopleSoft Integration
  • T-FA or TFA (Two Factor Authentication)

Key Benefits After Alfresco Deployment:

Contract Lifecycle Management System (CLMS) allowing the enterprise to improve operational efficiency, obtain enterprise-wide process visibility and strengthen vendor relationship

Above case study describes the experience of ContCentric team members in their earlier roles, and not at ContCentric.

    Have a Business Inquiry ?

    Let us collaborate and break yet another barrier to digitalization. Connect with us to discuss the project!





    Let us connect the digital dots!

    We are seeking dynamic professionals and unstoppable talents to craft distinct solutions for our clients to enhance their businesses. Come, join our fair & focused, optimistic & thoughtful world and deliver excellence together.

    Discipline

    Innovation

    Growth