Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
  • Observation only occurs if the bootstrap directory is set in the magnolia.properties file.
  • Deletions are not removed automatically. To remove content, delete it in the JCR and the bootstrap directory.

...

Bootstrapping settings

Bootstrap directory

To set the bootstrap directory add the magnolia.content.bootstrap.dir property in the magnolia.properties file. The bootstrap directory can reside anywhere on the file system and can be named anything you like.

...

Info

Subdirectories of the bootstrap directory are also monitored. You can structure your bootstrap files within the bootstrap directory.

...

Filename pattern

Use the magnolia.content.bootstrap.pattern property, you can specify which filenames will be imported and observed in the content bootstrap directory.

Example: magnolia.content.bootstrap.pattern=*/bootstrapDir/*.xml

...

Bootstrapping strategy

You can use two properties to configure a content bootstrapping strategy: magnolia.content.bootstrap.onlyImportAtInstall and magnolia.content.bootstrap.createTasks.

...