eikona-media/akeneo5-0-tessa-connector

将 TESSA 连接到 Akeneo 的扩展

1.4.1 2022-04-07 12:13 UTC

This package is auto-updated.

Last update: 2024-09-07 17:29:03 UTC


README

TESSA Logo

 

Akeneo 5.0 的 TESSA 连接器

 

使用此连接器包,您可以无缝地将 Akeneo 与数字资产管理解决方案 "TESSA" (https://www.tessa-dam.com) 连接起来。这为您提供了一个专业且完全集成的 DAM 解决方案,用于 Akeneo,以便在所有渠道中集中存储、管理和使用您产品的所有附加文件(例如图像、视频、文档等)。

更多信息请访问我们的 网站

需求

重要!请确保您的 Akeneo API 正在运行。TESSA 需要与您的 Akeneo 建立API连接。在某些情况下,Apache 配置错误,请参阅 https://api.akeneo.com/documentation/troubleshooting.html#apache-strip-the-authentication-header

安装

  1. 使用 composer 安装该包
composer require eikona-media/akeneo5-0-tessa-connector
  1. 然后,在 config/routes/routes.yml 的末尾添加以下行
tessa_media:
    resource: "@EikonaTessaConnectorBundle/Resources/config/routing.yml"
  1. 在 config/bundles.php 文件中启用该包
return [
    // ...
    Eikona\Tessa\ConnectorBundle\EikonaTessaConnectorBundle::class => ['all' => true],
];
  1. 仅限 EE:在 config/bundles.php 文件中启用企业包
return [
    // ...
    Eikona\Tessa\EEConnectorBundle\EikonaTessaEEConnectorBundle::class => ['all' => true],
];
  1. 在项目根目录中运行以下命令
php bin/console cache:clear --env=prod --no-warmup
php bin/console cache:warmup --env=prod
php bin/console pim:installer:dump-require-paths --env=prod
php bin/console pim:installer:assets --env=prod
yarn run webpack
yarn run less
yarn run update-extensions
  1. 更新您的数据库模式
php bin/console doctrine:schema:update --dump-sql # Show changes
php bin/console doctrine:schema:update --force # Update database schema
  1. 在 Akeneo 系统设置中配置 Tessa 连接器。

  2. (可选)创建一个 cronjob 以在后台与 TESSA 同步数据

如果您在系统设置中使用“后台同步”选项,则此步骤是必要的

php bin/console eikona_media:tessa:notification_queue:execute --env=prod

建议每5分钟运行一次(*/5 * * * *)。如果同时启动两次相同的命令,则第二次命令将以通知结束。

如何与参考实体一起使用

  1. 在 config/routes/routes.yml 的末尾添加以下行
tessa_api_reference_data:
  resource: "@EikonaTessaReferenceDataAttributeBundle/Resources/config/routing.yml"
  1. 在 config/bundles.php 文件中启用 ReferenceDataAttributeBundle
return [
    // ...
    Eikona\Tessa\ConnectorBundle\EikonaTessaConnectorBundle::class => ['all' => true], // Already registered
    Eikona\Tessa\ReferenceDataAttributeBundle\EikonaTessaReferenceDataAttributeBundle::class => ['all' => true], // New
];
  1. 当您添加新的参考实体属性时,在类型下拉菜单中选择 TESSA