Data Import Many-to-Many

Hello, is there an ability to import not only the business entity records but the links between one and another business entity? I tried to do so but got an error: Error while binding the data: com.quadrium.[systemname].entity.[entityname] cannot be cast to java.util.List.

The declaration of import file was the following:
name description owner status criticalProcess linkFirstEntity_2_SecondEntity

The last field is declared as an ASSOSIATION with many-to-many cardinality.

And what is really interesting: the import configuration editor allows to define field with that kind of ASSOSIATION.

Hi,

M:N associations are supported by the addon. You can read more about how to use it in the README: GitHub - mariodavid/cuba-component-data-import: CUBA component for easy data import

There is also an example in the demo app: cuba-example-using-data-import/example-data/mlb/mlb_players-with-strengths at master · mariodavid/cuba-example-using-data-import · GitHub

I hope this helps

Bye
Mario

Hi, thanks a lot. We’ve made it. But there’s another problem. We didn’t succseed with loading attributes of localdatetime type. Did the addon support this data type?