What is Venzia Datalinks?
Venzia Datalinks is a powerful add-on for Alfresco Content Services that allows you to seamlessly link document properties with database values. With Datalinks, you can connect your content metadata to external data sources without writing custom code—everything is configured through simple JSON files.Datalinks eliminates the need for custom implementations by providing a flexible, configuration-based approach to linking document properties with external databases.
Key Features
Configuration-Based
Define datalinks using simple JSON configuration files—no custom code required
REST API Integration
Connect to any REST API endpoint with support for multiple authentication methods
Flexible Metadata Models
Define custom aspects and properties that link to your database columns
ACA Integration
Built-in Alfresco Content App extension for easy datalink editing
Architecture Overview
Venzia Datalinks consists of three main components:1. Backend Module (venzia-datalink)
The Alfresco repository extension built on SDK 4.10 that provides:- Custom content models and aspects for datalink properties
- Datalink configuration loader and validator
- REST API webscripts for datalink management
- JSON schema validation for datalink definitions
- Alfresco SDK 4.10
- Alfresco Platform 23.4.1
- Maven build system
- Docker-based deployment
2. Frontend Extension (app)
An Alfresco Content App extension that provides:- User interface for editing datalinks on documents
- Dynamic form generation based on datalink configuration
- Search and selection interface for linking values
- Context menu integration (right-click → Edit Datalink)
- Alfresco Content App 5.3.0
- Alfresco ADF 7.0.0-alpha.7
- Angular 16.x
- Node.js 18.x
3. Database Mock (db mock)
A minimal Node.js Express server that simulates database endpoints for development and testing:- Public endpoints with no authentication
- Private endpoints with basic authentication
- Sample employee and department data
- Node.js
- Express 5.x
- Runs on port 3005
How It Works
Define Datalink Configuration
Create a JSON file in the
docker/datalink folder specifying:- Datalink name and metadata
- Associated Alfresco aspect and property
- REST endpoint configuration and authentication
- Column definitions that map to database fields
Deploy to Alfresco
The backend module loads datalink configurations on startup and registers them with the repository.
Link Document Properties
Users can right-click on documents in ACA and select “Edit Datalink” to link properties to database values.
Key Concepts
Datalink Configuration
Each datalink is defined in a JSON file with the following structure:Content Model Aspects
Datalinks use custom Alfresco aspects to store linked values. The content model defines aspects like:REST API Response Format
Your REST endpoint must return an array of objects with keys matching the column names defined in your datalink configuration:Use Cases
Employee Document Management
Employee Document Management
Link employee documents to an HR database to automatically populate employee metadata like name, hire date, and department.
Customer Records
Customer Records
Connect customer documents to your CRM system to link files with customer information without duplicating data.
Product Documentation
Product Documentation
Link product documentation to your product database to maintain consistent product codes and specifications.
Project Files
Project Files
Associate project files with project management system data like project codes, managers, and deadlines.
Authentication Support
Datalinks supports multiple authentication methods for connecting to REST endpoints:- None: Public endpoints with no authentication required
- Basic Authentication: Username and password credentials
- Custom Headers: Support for custom authentication headers
Next Steps
Installation
Install and configure Venzia Datalinks in your environment
Quick Start
Get up and running with your first datalink in minutes
About Venzia
Venzia Datalinks is developed by Venzia, a company specializing in Alfresco solutions.- Website: https://venzia.es
- Platform: https://aqua.venzia.es
- Contact: [email protected]
