Exporting/Importing Calendar Data
You can export and import calendar data as Liferay Archive (LAR) files.
Data can only be ported between installations of the same version.
Exporting Calendar Data
-
Start editing the page that has the calendar widget.
-
Click in the widget header and select Export/Import.
-
Click the Export tab.
-
Enter a name for the LAR file (or use the default).
-
Under Application, choose whether to include the widget’s configuration in the LAR.
-
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.
-
Check the appropriate boxes to select whether to include deletions and permissions in the LAR.
-
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
-
Start editing the page that has the calendar widget.
-
From the calendar widget, click in the widget header and select Export/Import.
-
Click the Import tab.
-
Click Choose File or drag-and-drop a LAR into the area surrounded by a dotted line. Click Continue.
-
Under Application, check the box to import the configuration stored in the LAR or leave it unchecked to keep your current configuration.
-
Under Content, decide which content types (calendars, resources, and events) to import and whether to include comments and ratings.
-
Choose whether to import permissions and deletions, and decide whether to delete your widget’s existing data before the import.
-
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.
-
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.
-
Click Import.
Your imported calendar data is now available for use. Better check it to see what’s next on the agenda.