1. ricsbel
  2. RO CSVI
  3. Thursday, 09 November 2023
  4.  Subscribe via email
I have exported some articles using template Example Joomla Content Export Migrate and wish to import into a site that already has some of the same IDs. I need the import to use new IDs and not the original ones. The documentation suggest that this is not possible but is there a workaround?
Accepted Answer Pending Moderation
Hello,

The documentation suggest that this is not possible but is there a workaround?
Where do you see that we suggest this is not possible? It certainly is possible.

In your import template go to the Options tab and set the Keep Content ID to No and save the changes. When you import RO CSVI will import the articles with new IDs.

Let me know how it goes.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi RolandD, it was this that made me think it wasn't possible:
https://rolandd.com/documentation/ro-csvi/migrate-joomla-data-using-ro-csvi-migration-templates
"Keeping the database ID

The migration templates have been made with the idea that you want to keep your database IDs the same. This is a big help in maintaining the relations between different parts of your website. Think about the menu items linking to articles or categories, they are connected by the database ID of the given category or article. Modules are linked to menu items by their ID, users are linked to articles by their ID. The list goes on and on. To prevent that you have to manually change all these settings, which would defeat the purpose of the migration, we have added the option to keep the existing IDs, this option is enabled on all migration templates.

One thing you really need to be aware of is that the website where you import the data does not have any of the existing IDs from the old site. If you do have them, they will be overwritten and things can look quite unexpected. So check if you do not have any overlapping IDs between your source site, where the data is exported from, and your target site, where the date is imported into. If you have any overlapping IDs, you have to decide whether you run the migration into a clean site or cleanup the site so there are no overlapping IDs anymore."
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,

Thank you for letting me know. I will update that text to include the option if you do not want to keep the IDs.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!