Data with relationship import

Hello,

When I try to import data into my tables (new or existing), it only imports one relationship column per table. For example, when I follow the example here (https://backendless.com/documentation/manage/mgmt_import.htm), the Order table only imports the one-to-one relationship with customer and ignores the one-to-many relationship with OrderItem. When I remove the one-to-one relationship from the csv file, then the one-to-many relationship is imported.

Hi Saeed,

Do you use Backendless Export or do you form the CSVs manually?
Also please provide your application ID and the csv/zip you’re trying to import.

I’m was using the CSV manually, but I just tried doing a Backendless export followed by import (of the exported files). I still only get one relationship per table. I’m using the example files from the link above (also find attached). The application ID is (C8F8B616-1DB0-6A80-FFA8-C65C40364A00).

OrderItem.csv (594B)

Customer.csv (224B)

I realized that I added my reply as a comment instead… I found a way around it but here is my response below:

I’m was using the CSV manually, but I just tried doing a Backendless export followed by import (of the exported files). I still only get one relationship per table. I’m using the example files from the link above (also find attached). The application ID is (C8F8B616-1DB0-6A80-FFA8-C65C40364A00).

Order.csv (207B)

OrderItem.csv (594B)

In application C8F8B616-1DB0-6A80-FFA8-C65C40364A00 the tables you mention are empty. Can you also provide an app from which you perform export?

I filled in the tables again. You’ll notice the customer-order relationship is empty and was not imported. I used the example provided by Backendless: https://backendless.com/documentation/manage/mgmt_import.htm and I’m still not getting the desired results (i.e. still missing data from a relation).