Dashboard > Community Wiki > ... > FAQ > How to change activation after data import
How to change activation after data import Log In View a printable version of the current page.

Added by Jan Haderka , last edited by Boris Kraft on Jun 23, 2008  (view change)
Labels: 

Problem

I use ImportHandler from DataModule to import the data. All imported data is automatically activated directly after the import. Can I change this behavior to use workflow instead?

Solution

After a successful import, the protected ImportHandler.doPostImport() method is called. This method initiates two commands deleteAll(old content) and activateAll(updated content). Those commands are defined in /config/data/commands/data. You can change those commands to invoke your custom workflow instead of deleting/activating directly or you can override doPostImport() method of ImportHandler to change this functionality all together.

Powered by a free Atlassian Confluence Open Source Project License granted to Magnolia International. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators