CMDBuild Forum

Import with cyryllic Code's

I create import template for class with reference to another class by Code. Code in cyrillic font.
But i get error “card not found for code =<2>”
Making csv file in utf8 coding is helpless too.

Hi,
I’ve tried to replicate your problem, i’ll write step by step what i did:

-I created two classes with a domain between them
-On the first class i created a reference attribute
-On that class i created an import template with the following setting:

IssueCirillico

Now i’ve created a card in the second class with the values:
Code: привет Description: привет

In the end i’ve created a simple CSV file to simulate an import with the following values:

Code,RefAttr
при,привет

And after importing it worked properly:

Screenshot%20from%202020-03-12%2009-49-42

Did you do something different in your procedure? If yes what? Could you also try to replicate the problem with a simple example like i did?
Thanks in advance

Thanks! It works properly only if I manually create csv in UTF8 codepage. By default I create CP1251 file and it cannot import reference attribute.
But I solve the problem by another way: i choose file format XLSX and all is fine)