Skip to content

Eases the creation of custom entity and related views in the PIM

License

Notifications You must be signed in to change notification settings

LaureBrosseau/CustomEntityBundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomEntityBundle

Scrutinizer Code Quality Build Status

Facilitates the creation of PIM reference data and related views in the PIM.

For more information, please see http://docs.akeneo.com/

Requirements

CustomEntityBundle Akeneo PIM Community Edition
v2.0.* v2.0.*
v1.10.* v1.7.*
v1.9.* v1.6.*
v1.8.* v1.6.*
v1.7.* v1.5.*

Disclaimer

The 2.0.0 custom entity bundle is in bêta state because of missing features:

  • mass edit
  • quick export
  • mass delete
  • missing translations
  • outdated documentation

Work is in progress and we will release a stable version very soon.

Installation

You can install this bundle with composer (see requirements section):

    php composer.phar require akeneo-labs/custom-entity-bundle:2.0.0@beta

Then add the following lines at the end of your app/config/routing.yml :

    pim_customentity:
        prefix: /reference-data
        resource: "@PimCustomEntityBundle/Resources/config/routing.yml"

and enable the bundle in the app/AppKernel.php file in the registerBundles() method:

    $bundles = [
        // ...
        new Pim\Bundle\CustomEntityBundle\PimCustomEntityBundle(),
    ]

If you want to use the quick export and/or the mass edit features, you have to load the job fixture defined in Resources/fixtures/jobs.yml file and to copy/paste its content to your installer.

If your installation is already set up, you have to run the following command:

    php bin/console akeneo:batch:create-job "Akeneo Mass Edit Connector" "csv_reference_data_quick_export" "quick_export" "csv_reference_data_quick_export" '{"delimiter": ";", "enclosure": "\"", "withHeader": true, "filePath": "/tmp/reference_data_quick_export.csv"}'

Documentation

The reference data documentation can befound in the PIM documentation. For newer versions, you have to use reference datas in Akeneo PIM (http://docs.akeneo.com/latest/cookbook/catalog_structure/creating_a_reference_data.html).

The custom entity bundle provides the following tools to help managing custom entities inside the Akeneo PIM.

A demo project has been created here to give more examples about what we can do. It can easily installed using this setup script.

Contributing

If you want to contribute to this open-source project, thank you to read and sign the following contributor agreement

About

Eases the creation of custom entity and related views in the PIM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.0%
  • JavaScript 9.5%
  • HTML 2.5%