How to store csv file data into Database by building import/export utility/feature in Kentico Admin Tool? - kentico

I am learning Kentico and the requirement is to save csv file data into database by creating a import/export utility in Kentico Admin tool.
Kentico 10.0.44 version is used.
Can Kentico Import Tool be customized for this using handler or custom event hooks ?
Or is there any documentation to build a custom feature/utility in Admin Tool ?
Thanks

AFAIK there is no support for using the Kentico Import Toolkit (KIT) via command line or any other option. You need to use the UI to perform the import.
That being said, you can write some standard asp.net code to perform the import of the CSV into Kentico. Keep in mind you want to use as much of the Kentico API as possible to ensure your data will be properly imported. If you don't use the API, you could end up with orphaned data, issues with workflow, etc. and they will cause a huge problem later on.
*** Update ***
I stand corrected, you can use a pre-created profile and use the KIM with a given profile to import data via the CLI. Documentation is here for version 10.

Related

Documentation for "Export Project" Quire API

I want to automate the backup of quire.io data. Essentially functionality offered via Export project data from the web browser.
I think it calls https://quire.io/r/export/project API.
Where can I find the documentation ? I assume it just requires some Auth header
Without that I need to jump thru the hoops to create JSON that is equivalent of the JSON created by Export JSON functionality already present
There is currently no api call available to do a full project export.
Feel free to post a feature request on the project page.

How to export my Hybris website?

I've read the hybris wiki but I wasn't able to find any related information...I have made a website in one hybris platform on localhost, and now I need to get all the content, products, pages, etc and import it in another platform. Do you have any idea how to do this?
Thanks!
You can export your data by writing Export Script.
Creating Headers for Export
Log into the hybris Management Console.
Navigate to System > Tools > Script Generator.
In the Wizard: Script Generator, click on the Advanced Settings tab.
Clear the Document ID check box.
Switch back to the Script tab.
Select [y] hybris MigrationScriptModifier from the Script modifier drop-down menu.
Click the Generate button.
The Script Generator writes the headers for all types in the hybris Commerce Suite into the Script field.
Copy and paste the list of headers into a text editor.
Remove the headers for the types you do not want to export.
Here are the list of some examples ->
Export CMS Content
Users and Addresses
Catalog Version Content
Classification System
For More Information on How to run Export in different ways, Follow this link Impex - User Guide
Quick and dirty db dump:
If you're not worried about overwriting existing data on the other platform, you could simply copy the database over. More than likely you will also need to copy the hybris/data folder, or you'll have missing media references. If you're using MySQL you can use the mysqldump utility. This is the quick easy way if you just need to stand up a UAT environment, for example.
Impex export
The better way would be by creating impex scripts that will export all the items needed. On the hybris wiki, search for "Data Exporter", which is a page containing a link to an HMC extension called advancedexport. It will allow you to set up your export more easily.
There are two scenarios :
1 - You have made all the website configuration by impex files and therefore you will just need to initialise your system on the new platform
2 - You have done all the website configuration manually
If you are running the exact same Hybris version and code, then exporting / importing the data is possible
If you are not running exactly the same platform, then it becomes tricky, you could either use import export functionality (good examples here) or try to generate Jinja templates for each item type (example here)
Another good option for you here will be to use the Hybris-to-Hybris Synchronization which will allow you to transfer all your data by taking advantage of Data Hub. This is a very good solution in cases where you want to keep a good performance in the origin system, or where you are dealing with different version of hybris. See more information on this here.

Can you use a Sharepoint Trigger to export an uploaded Excel File to a Network Drive as CSV?

I have a business requirement to process files uploaded by regional businesses for import to another system. It's envisaged that users will use SharePoint 2007 (soon to be SharePoint 2013), the event will trigger an export to CSV and the process will then run against those files.
Is this possible in either SharePoint versions?
Would that be an app, or standalone service I would want to create and schedule?
Does anyone have a more elegant solution? Essentially the CSV export is feeding in to a program that allows a user to visually validate and press a button to push to the other system after tweaking.
With custom code, you could create an event receiver on the list where CSV file lives that will run some code whenever the CSV file is updated. Here's a starter:
http://elczara.wordpress.com/2011/02/16/sharepoint-2010-event-receiver/
Make it a farm solution (sandbox solutions can't write to the filesystem directly), and you'll probably want to look up RunWithElevatedPrivileges, since the user doing the uploading may not have permission to write to the file system.
Steve's suggestion of rethinking the end-to-end solution is a good one, although I'm not sure how you can trigger the other system to "do its business".
Yes, it is possible, both with the 2007 version and the 2013.
Depending on your deployment scenario, you can:
create a custom timer job that will execute your job.
Create a custom site Workflow, with a loop and a delay, that will do the job.
The 1st is easier to build and maintain, but has less perspectives if you need to apply custom process.
But if you can control the application that consumes the feed, why don't you consume SharePoint directly? From the 2010 version, you can very easily get data using the listdata.svc web service. With older versions, you can still get data using a simple web service.

How to import large volume of data into CRM 2011 Online entities?

I need to import millions of records into a CRM 2011 Online entities. Is there any efficient way to do it?
With CRM 2011 Online you have different ways:
Use the standard Import Data Wizard functionality
Use CRM Web Services to get the additional capabilities for import
data, more details here: Import Data in Microsoft Dynamics CRM
Use CRM Web Services to build your own import tool using the new ExecuteMultipleRequest, more details here: Use ExecuteMultiple to Improve Performance for Bulk Data Load
Use an integration software as Scribe
Which one is more efficient between these methods depends on your crm structure, the source of your data, the complexity of the transformation, etc.
There are a couple of other import tools for importing data SSIS integration toolkit is one and Import manager another
We have a CRM migration tool that allows you to import data into CRM, both on-premise and online using the bulk import functionality which CRM provides.
Our product supports multiple table mappings per migration project, defining multiple data sources, and when you are done running your import in development, you can clone the connections into a new environment , for example SIT, UAT or PROD and re-run your import against there when ready. No coding required, so essentially anyone with BA / DB schema knowledge can use this tool to perform migration imports.
http://www.splsolutions.com.au
Any questions, please feel free to get in touch with us.
cheers,
Paul
This tutorial might help. It shows how to send data stored in a SQL database to MSCRM 4.0 via CRM Web Services using SSIS.
The comments mention alternative options.
http://blogs.msdn.com/b/crm/archive/2008/05/07/integrating-crm-using-sql-integration-services-ssis.aspx

Importing bulk data into sharepoint

I have an issue with a new sharepoint install that we've recently deployed to replace an ageing content management system that I implemented a few years ago.
What I'd really like is to save my colleagues as much effort as possible by transferring the content from my CMS into sharepoint.
I'm not very good with sharepoint yet, and my development platform of choice is PHP MySQL, so basically I'm wondering if sharepoint has any facility to import sites, I can easily built filters to reformat the content in my CMS into whatever (please let it be XML) format sharepoint will accept but I have no idea if sharepoint will even let me do this.
I have limited access to the sharepoint server, although in this case I can probably negotiate more if that's the only way.
Mostly I just need some pointers - does sharepoint have any facility to do this, and where do I start doing it?
Thanks
SharePoint has the ability to import data from an Excel spreadsheet (Site Actions > Create > Import Spreadsheet).
The only problem you may run into with this method is that you don't necessarily have full control over what column types the importer uses for your data--if that's important, then it will take some trial and error.
If you're familiar with .NET and you can get access to run a program on the server, you can write a program to import data into existing lists using the SharePoint object model.
the fastest way to bulk import data into SharePoint is through the batchdata method
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.processbatchdata.aspx
it is aimed ad importing list data, but it seems there are some workarounds to make it work with publishing pages
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f8fe190d-c1ed-4e15-bda2-7792211973cc/bulk-publishing-page-creation-using-processbatchdata?forum=sharepointdevelopmentlegacy

Resources