ical-importer and plone-6.1

Hello!
I’m currently using Plone-5.2. I’m planning to upgrade all the content to Plone-6.1 and I installed a fresh plone-6.1 installation today.

First of all, I’d like to test the ical-importer for importing a lot of events from an ical file. So good so far, import works great, and in 6.1 now also the categories are imported as expected (in 5.2 categories where not supported in ical-importer).

However, I have a problem with the importer in 6.1. I’d like to import my events in specific folder such as events, but it’s only allowed for the root-folder of Plone. I’m wondering why I cannot enable the ical-importer in any Folder.

Curiously, in the plone-test instance in https://classic.demo.plone.org, there I can import events in all Folders, but NOT in the root Folders.

Oh, I forgot, I wanna use the classic Plone UI.

Many thamks for your help!

Jens

Did you try to go to http://yoursite.ext/my-folder/@@ical_import_settings and try to import from there? It is possible that the action is not setup in a standard plone installation.

The enable ical action is here: https://classic.demo.plone.org/portal_actions/object_buttons/ical_import_enable/manage_propertiesForm

The view in the demo site is here: https://classic.demo.plone.org/portal_actions/object/ical_import_settings/manage_propertiesForm

zcml definitions suggest that the views are available for every folder: https://github.com/plone/plone.app.event/blob/master/src/plone/app/event/ical/configure.zcml:

  <browser:page
      name="ics_view"
      for="plone.folder.interfaces.IFolder"
      class=".exporter.EventsICal"
      permission="zope2.View"
      layer="..interfaces.IBrowserLayer"
      />

Wow, the trick with the URL works like a charme! I did

Plone/events/2026/@@ical_import_settings

and i could import all my events in the 2026 folder. This workaround is ok for me.

Thanks a lot and best regards!

Jens

1 Like

Don't you've the enable/disable ical import action in the object menu'?

ähm nope, there is no action visible in the menu, except for the root folder. I did not enable/disable the importer. That's what I was wondering, because in the demo site, the action enable_ical is visible in the object menu of a folder – afaik.

1 Like