Skip to main content
Version: 2026.2

Installation

info

Datahub File Export is an enterprise bundle. It requires a Pimcore enterprise subscription.

Prerequisites

The bundle requires Pimcore 2026.1 or later and PHP 8.4 or 8.5.

Datahub (pimcore/data-hub), pimcore/studio-backend-bundle and pimcore/studio-ui-bundle are Composer dependencies, so Composer pulls them in. The bundle additionally registers Datahub, the Application Logger bundle and the Enterprise Subscription Tools bundle as dependent bundles, which loads them into the kernel without manual bundle ordering.

Loading a bundle is not installing it, and pimcore:bundle:install does not cascade. Datahub has to be installed on its own, see step 3.

note

A custom bundle that extends File Export has to be loaded after PimcoreDataHubFileExportBundle. Set its priority in config/bundles.php accordingly.

Installation Process

  1. Install the package:
composer require pimcore/data-hub-file-export
  1. Enable the bundle in config/bundles.php:
use Pimcore\Bundle\DataHubFileExportBundle\PimcoreDataHubFileExportBundle;
// ...

return [
// ...
PimcoreDataHubFileExportBundle::class => ['all' => true],
// ...
];
  1. Install Datahub, if it is not installed yet. Enabling it as a dependent bundle only loads it, it does not create the plugin_datahub_config permission and the Datahub permission category that File Export depends on:
bin/console pimcore:bundle:install PimcoreDataHubBundle
  1. Install the bundle. Its installer creates the plugin_datahub_adapter_fileExport permission and the plugin_datahub_queue_item table, and installs the Application Logger bundle if it is not installed yet:
bin/console pimcore:bundle:install PimcoreDataHubFileExportBundle

Depending on how exports are triggered, a Symfony Messenger worker and additional cron jobs are needed. See Export Setup.

Verify the Installation

Open Automation & Integration > Data Hub Configuration in Pimcore Studio. File Export now appears in the New menu at the bottom of the configuration tree.

File Export in the New menu of the Datahub configuration treeFile Export in the New menu of the Datahub configuration treeFile Export in the New menu of the Datahub configuration tree

User Permissions

The installer adds one permission, plugin_datahub_adapter_fileExport ("Datahub Adapter - File Export"), to the Datahub permission category. The other permissions involved come from Datahub itself.

PermissionEffect
plugin_datahub_configOpens the Data Hub Configuration entry in Pimcore Studio, and is enforced on every File Export API endpoint with #[IsGranted]. Without it the panel is neither reachable nor callable.
plugin_datahub_adapter_fileExportOffers File Export in the tree's New menu, and grants access to File Export configurations that carry no entries in their Permissions tab.
plugin_datahub_adminGrants full access to every Datahub configuration of every adapter, so it overrides plugin_datahub_adapter_fileExport and the per-configuration permissions. It does not replace plugin_datahub_config, which the endpoints still require.

Access to a single configuration resolves like this, and the read, update and delete checks run server-side:

  • An admin user or a holder of plugin_datahub_admin is always allowed.
  • If the configuration's Permissions tab is empty, plugin_datahub_adapter_fileExport decides.
  • As soon as the Permissions tab lists any user or role, plugin_datahub_adapter_fileExport is ignored and only the listed entries count. A user who is not listed, directly or through a role, has no access.

Next Steps