Programmatically way to do Save, Save Only version , Save and publish

Hi All,

Basically I’m trying to do the above three operations programmatically, I’m seeking your help on this.

THanks

See file DataObjectController.php in …vendor\pimcore\pimcore\bundles\AdminBundle\Controller\Admin\DataObject\DataObjectController.php

There are “example” how do it. See function publishVersionAction, saveAction (line 1303 in PIM 6.5.3)

1 Like