Exporting/Importing Calendar Data

You can export and import calendar data as Liferay Archive (LAR) files.

Note

Data can only be ported between installations of the same version.

Use the widget configuration to Export/Import calendar data

Exporting Calendar Data

  1. Start editing the page where the Calendar widget has been deployed.

  2. Click Options (Widget Options icon) in the widget header → Export/Import.

    Note

    Before Liferay DXP 2025.Q1, the Export/Import option appeared in the widget’s top-right corner.

  3. Click the Export tab.

    Calendar data export process.

  4. Enter a name for the LAR file (or use the default).

  5. Under Application, choose whether to include the widget’s configuration in the LAR.

  6. Under Content, choose how much historical data to export and select the content types (calendars, resources, and events) to include. You can also choose whether to include comments and ratings.

  7. Check the appropriate boxes to select whether to include deletions and permissions in the LAR.

  8. Click Export. When a success message appears (this may take a few moments), you can click the LAR’s filename to download it.

Importing Calendar Data

  1. Start editing the page where the Calendar widget has been deployed.

  2. Click Options (Widget Options icon) in the widget header → Export/Import.

    Note

    Before Liferay DXP 2025.Q1, the Export/Import option appeared in the widget’s top-right corner.

  3. Click the Import tab.

  4. Click Choose File or drag-and-drop a LAR into the area surrounded by a dotted line. Click Continue.

    Calendar data import process.

  5. Under Application, check the box to import the configuration stored in the LAR or leave it unchecked to keep your current configuration.

  6. Under Content, decide which content types (calendars, resources, and events) to import and whether to include comments and ratings.

  7. Choose whether to import permissions and deletions, and decide whether to delete your widget’s existing data before the import.

  8. In the collapsible Update Data section, choose how data should be updated.

    Mirror: The data is imported with a reference to its source. This way, data can be updated rather than duplicated if the same LAR is imported more than once.

    Copy as New: All data is imported as new entries. Repeat imports produce duplicates.

  9. In the Authorship of the Content section, choose whether to keep the original author of the imported content (where available) or to set the current user as the author.

  10. Click Import.

Your imported calendar data is now available for use. Better check it to see what’s next on the agenda.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy