When migrating IC 5.0 to IC 6CR3, it removes the media gallery widget from all communities.
We know that the media gallery is deprecated since 5.5... and replaced with the Gallery app.
but we would expect that the media gallery widget is migrated to the gallery app. Meaning, the migrated community should have the gallery app in place after migration.
To recover those widget definitions so that the gallery app is automatically added after migration, we understand that we need to remove all the media gallery widget defs for our migrated communities, using this command:
CommunitiesService.removeWidgetsByWidgetDefIdForAllComm('MediaGallery')
and then, we need to add Gallery widget to the same communities. In widgets-config.xml, we can make it default, so that when a new community is added, it is automatically added, but for existing communities we will need to add them manually via a user with admin access to communities.
Our problem is that we need a way to migrate this IC 5 Gallery Widget information.
We know there is an API for Media Gallery that retrieves either photos or videos that may be helpful:
Getting photos and videos feed
https://www-10.lotus.com/ldd/lcwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Connections+6.0+API+Documentation#action=openDocument&res_title=Getting_Photos_and_Videos_Feed_ic60&content=apicontent&sa=true
however, we would appreciate it, to have a migration procedure for this.