Jump to content
Server Maintenance This Week. ×

Import only entries with new ID


This topic is 4381 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi there,

1. On first Import (its XML but thats not important), fields are matched in the import, creating the entries (all with unique IDs).

2. Now I want to import again, this time the XML contains additional entries BUT also the entries from the first import (additional IDs).

3. How do I import only the additional entries without overwriting any records that are already in the DB?

Just give me some basic idea on how to accomplish this...

Thanks in advance

Lars

Link to comment
Share on other sites

You can set the ID to validation unique always (field definition Options - Validation tab). Then import and it won't matter if you show all records from your table first. Importing this way will only import IDs which do not already exist in your table. :^)

ADDED: You will receive an import error telling you not all records imported.

Edited by LaRetta
Link to comment
Share on other sites

Thank you for the quick reply. But I want to leave the records, that are already imported completely untouched.

In your scenario it would still update all the fields in the records in the DB... But I do not want that...

Any ideas?

Link to comment
Share on other sites

This topic is 4381 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.