Perfex CRM splits clients, invoices, projects, and tasks across separate database tables, making cross-module operational reporting difficult without custom PHP or manual SQL scripts. Non-technical managers wait on developers for every new report layout.
Data Builder for Perfex CRM eliminates that bottleneck with a Vue.js 3 visual query canvas, automatic foreign key detection, AND/OR filter builders, role-based access rules, and instant CSV or Excel (XLSX) exports backed by CodeIgniter 3 Query Builder.
……



| Technical Layer | Specification & Supported Capabilities | Operational Purpose |
|---|---|---|
| Platform & Runtime | Perfex CRM 3.0.0+, PHP 8.2+, MySQL 5.7+ (JSON), Apache/Nginx | Safe query execution via CodeIgniter 3 Query Builder |
| Visual Canvas | Vue.js 3 + Bootstrap 4, SortableJS, smart table search, aliases | Drag-and-drop column selection, concatenation, live preview |
| Joins & Aggregations | Auto foreign keys, INNER/LEFT/RIGHT JOIN, SUM/COUNT/AVG/MIN/MAX | Combine core and third-party module tables without SQL |
| Security & Export | Table whitelist, View/Manage/Export RBAC, Public/Private/Shared/Hybrid | Server-side pagination, CSV/XLSX export, dedicated runtime route |
Step-by-Step Installation in Perfex CRM
Before uploading the package, confirm your server meets PHP 8.2+ and MySQL 5.7+ with JSON column support. If you also plan to expose saved views externally, review our Perfex CRM REST API and GraphQL integration guide afterward.
- Extract the downloaded archive locally to locate the
documentationfolder and the installabledatabuilder.zipmodule package. - Log into Perfex CRM Admin and navigate to Setup > Modules.
- Select the extracted
databuilder.zipfile in the upload field and click Install. - Locate Data Builder in the modules list, click Activate, and open the new Data Builder navigation menu item.
Building Visual Queries, Joins, and Secure Exports
Inside the builder, staff combine tables across core and third-party modules without writing raw SQL. Each saved view exposes a dedicated runtime route with server-side pagination, while external consumers follow RFC 9457 error handling standards for predictable troubleshooting.
- Configure the administrator table whitelist first to restrict which database tables appear inside the builder canvas.
- Use smart table search to add sources, accept automatic foreign key suggestions or define custom
INNER JOIN,LEFT JOIN, orRIGHT JOINlinks, and rename columns with aliases or concatenated fields. - Apply visual
AND/ORfilter conditions alongsideSUM,COUNT,AVG,MIN, orMAXaggregations, verifying output immediately in live preview. - Assign role-based permissions (View, Manage, Export), set visibility to Public, Private, Shared, or Hybrid, and export datasets cleanly to CSV or XLSX.
Common Pitfalls and Quick Fixes
- Uploading the outer download archive triggers an install error: Extract the main zip first and upload only the nested
databuilder.zipfile inside Setup > Modules. - Expected module table missing in search: Check your administrator table whitelist settings in Data Builder and add the required core or third-party module table name.
- Staff see views they should not export: Switch the saved view mode from Public to Private, Shared, or Hybrid and verify the user’s Perfex role lacks Export capability.
Frequently Asked Questions
What server and Perfex CRM versions are required for Data Builder?
Data Builder requires Perfex CRM version 3.0.0 or higher running on PHP 8.2+ and MySQL 5.7+ with JSON column support. It operates reliably on both Apache and Nginx web servers while using CodeIgniter 3 Query Builder for safe backend execution.
Can Data Builder query tables created by third-party Perfex CRM modules?
Yes. Beyond standard Perfex CRM tables for clients, invoices, projects, and tasks, Data Builder can visually inspect, join, aggregate, and filter any third-party module table stored inside your CRM database once an administrator approves and adds it to the table whitelist.
How does Data Builder prevent SQL injection and unauthorized data exposure?
All queries run through CodeIgniter 3 Query Builder parameterized methods instead of concatenated raw SQL strings. In addition, administrators enforce a strict table whitelist, Perfex role-based View, Manage, and Export permissions, and view visibility modes covering Public, Private, Shared, or Hybrid access.
How do teams share or export generated Data Builder reports?
Every saved view provides a dedicated runtime route with server-side pagination for large datasets, giving internal teams consistent dashboard access. Authorized staff can also export filtered query results directly to CSV or Excel (XLSX) formats for external reporting and downstream analysis.

Leave a Reply