Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.
Rate Macro

Mechanism allowing users to define custom save hanlers for individual controls introduced.

Filed based saveHandler


This page contains notes and usage of field based savehandler.

Since Magnolia 3.6.1 there is a mechanism to allow users to define custom save hanlers for individual controls, before, this functionality was available per dialog.

Since Magnolia 4.0 the interface used for this functionality was renamed from CustomSaveHandler to FieldSaveHandler

  • In my opinion it is not completely right as FieldSaveHandler is also used for dialogs.


Create a control for your dialog and in the control definition add property "saveHandler" and set the value to your implementation of FieldSaveHandler.

As an example Data module is using the saveHandler for some on the dialogs like 'Contacts' and Categorization module is using a saveHandler for the field 'categories'.