API
Version 7.x > API > Import Toolkit or API View modes: 
User avatar
Member
Member
mvcftw-gmail - 2/12/2013 10:11:11 AM
   
Import Toolkit or API
I have to import products from my old custom site to my new Kentico site. I imagine I can do this directly with the API and likely have more control over the process, or just use the Import Toolkit. My source data is multilingual, so I need to ultimately have multilingual products as well.

So far I'm noticing that the toolkit seems to be limiting me to importing one product type at a time, so it looks like I would have to do this multiple times for each type of product (cell phone, computer, etc)

I'm leaning towards doing this with the API as it seems like a good learning exercise.

When I search for "Import Toolkit 7", there isn't even one hit. That kind of scares me.

What method would an experienced Kentico dev go with to import multilingual content?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 2/12/2013 9:01:46 PM
   
RE:Import Toolkit or API
Does your existing product have a culture field? If so, you can simply use the import toolkit and map it to the DocumentCulture field. Unless you have great experience using the API, I suggest creating a test site and attempt using the Import Toolkit. Documentation can be found here

User avatar
Member
Member
mvcftw-gmail - 2/13/2013 2:53:06 PM
   
RE:Import Toolkit or API
It doesn't directly have a culture field per product, but it does store strings that needed to be localized separately. So I think I would need to have multiple imports to get each culture in. Once for EN, once for FR, etc, and then all of that again for each product type. It seems easier to take care of all of that repetitiveness with the API.

I have no doubt I can succeed with the import toolkit. But it's a one time deal. I'll never need to import anything else, so any learning gained doing that has no long term benefit. Where as the API examples around importing products don't seem too intimidating, but experience with the API will always be beneficial. I guess I have my answer.

On the downside, I haven't seen any examples yet on creating multilingual documents/products.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 2/16/2013 4:53:55 PM
   
RE:Import Toolkit or API
Hello.

You can create new language version of the document using the following API: http://devnet.kentico.com/docs/devguide/documents_api_examples_creating_documents.htm

You just need to set required newNode.DocumentCulture property.

Best Regards,
Radek Macalik