Implementing Custom Solutions
In the previous section, you learned about the limitations of standard import and export functionalities. Then, you learned how to create a custom operator to be used on CSV import processes.
In this section, you will learn how to implement custom solutions for importing and exporting. In particular, you will learn how to add additional buttons to the object and folder editor in the Pimcore backend interface, which will call custom controllers on clicking, and how to create commands that could be scheduled and run as a background process.
Adding custom buttons
In this section, you will learn how to add custom buttons to the Pimcore backend interface, and how to let these buttons call for custom controllers to perform imports and exports.
To add these buttons, we need to implement the postOpenObject
function inside the Resources/js/Pimcore/startup.js
file of a previously created Pimcore bundle. In the following code snippet, you can see an example...