Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > How to find import package list View modes: 
User avatar
Member
Member
Anuj - 10/13/2009 5:17:05 AM
   
How to find import package list
Hi,

I am a new user of Kentico CMS, I created a website in Kentico CMS and then exported it. I am trying to import this exported site from another Kentico CMS which is installed on different machine. But when I am trying to do so then I am founding that there is no package and there is no other way explicitly enter a path of exported item.

Plz tell me that how could I do so?

Thanks in Advance......

User avatar
Member
Member
Anuj - 10/13/2009 5:47:51 AM
   
RE:How to find import package list
I have found the above solution in Kentico Documentation but I don't think that It is proper way of working.

Solution was to copy the exported package to import directory of live server but there should be a way to select a package from client side rather than going in the server and manually coping the file.

If anyone has a proper suggestion on this point so plz provide.

Thank You

User avatar
Member
Member
kentico_pavelk - 10/13/2009 7:48:34 AM
   
RE:How to find import package list
Hello,

copying exported package to <your project>\CMSSiteUtils\Import folder is the only way to import site or object via user interface. Another option is to use API but it would require some customization.


Best Regards,
Pavel Knotek

User avatar
Member
Member
Anuj - 10/13/2009 11:43:40 PM
   
RE:How to find import package list
Hello,

Thanks for the information. Would you please tell me the way of API of doing so?? I wish to know that what the customization I will have to do to perform this work using API.

Regards,
Anuj

User avatar
Member
Member
kentico_pavelk - 10/15/2009 4:43:28 AM
   
RE:How to find import package list
Hello Anuj,

You may find some examples in our Developer's guide. It's up to you where you put this code - you may for example modify the UI.
http://devnet.kentico.com/docs/devguide/index.html?import_and_export_of_the_web_site.htm


Best Regards,
Pavel Knotek

User avatar
Member
Member
Anuj - 10/16/2009 1:55:39 AM
   
RE:How to find import package list
Hi Pavel,

Thanks for your support. I have visited given link but there it was written that I will have to make changes in CMS.CMSImportExport.ImportProvider/ExportProvider classes ImportSite and ExportSite method.

But I am using kentico CMS 4.1 Free Edition so there is no such class file exists, it is available in DLL format so would you please tell the that how could I do so in Kentico CMS free edition.


Thanks,
Anuj

User avatar
Member
Member
kentico_pavelk - 10/20/2009 2:35:56 AM
   
RE:How to find import package list
Hello Anuj,

The Developer's guide says that you may use that methods. You don't need to change them in the source code. You may use them in your code.


Best Regards,
Pavel Knotek

User avatar
Member
Member
Anuj - 10/20/2009 5:05:30 AM
   
RE:How to find import package list
Hi Pavel,

Would you please tell me that How could I use these two methods. In Free Edition there are only static pages are there. Would you please tell me that How could I create dynamic pages and write the code for using this method?

A heartily Thanks in Advance......

User avatar
Member
Member
kentico_pavelk - 10/20/2009 9:39:17 AM
   
RE:How to find import package list
Hi Anuj,

You can put the code to some custom control or code behind of an aspx page. It is up to you where you want to use this functionality.


Best Regards,
Pavel Knotek