Hello Ananth!
Thanks so much for your quick reply! This was a big help! I'm still getting used to how Centric works, so please forgive me if I'm missing something obvious in my questions =)
> In short, the Transfer application reads a configuration file
> which has a reader and writer specified. The Transfer
> application loads the reader and passes a writer object to
> it. The reader which is specialized to read from a particular
> data source (CSV, Centric db etc) reads records and
> passes each record to the writer which is specialized to
> write to a particular data source (CSV, Centric db etc).
>
> I know that was boring and not very helpful!
Haha... on the contrary, it was quite helpful! By the way - is this stuff documented somewhere besides these forums? For example, I can't find information on how to generate a backup XML file from a Centric DB. (This would be helpful for testing and comparing to our converted Centric XML file.) I imagine something like this must exist since you have a cool Reader set up for it... but is there a backup function that generates such a file? If so, how do I use it?
> For some brownie points I am ready to continue
> blabbering...
I love it!
> Now that you have an XML full of Gold, we need
> to somehow store it in your Centric's vault.
Right ;)
> To be able to use the Transfer application to work
> here, you will need a Reader that can read from
> your XML and Write it to a Centric database.
> We have an XML reader (reads from a XML file
> which conforms to Centric's backup file format)
> and a Centric Database Writer that can be used
> here.
Great. I saw those.
> The biggest challenge would be to convert your
> XML file to Centric's backup file format.
Right. Not a problem. Sounds like a fun project!
> 1. How many records are there in this XML file?
I'd estimate somewhere between 5-10k contacts.
> 2. Your each record needs to be manually
> mapped to a record in Centric.
Right.
> (I know, I agree with you....Centric needs
> to provide a UI which lets you process your
> gold file and map it to Centric objects)
It would be nice =) Keep plugging away at it! Thanks for your hard work.
> You could probably write a script which reads
> your XML and outputs a Centric XML file. This
> will need you to understand Centric's backup
> XML format and get familiar with the object
> map.
That's our plan. Is Centric's backup XML format documented somewhere? And do you have any tips on how to go about familiarizing myself with the object map? Are you referring to import-mappings.xml? That's a pretty daunting file! =)
> This is how I would proceed once i have a
> Centric XML file.....I would use the
> Backup/Restore process available in Centric.
>
> 1. Grab Centric CRM v4.1 source from the
> SVN repository
> 2. Compile the source and deploy using ant
> deploy
> 3. Time to create a shell database. Run ant
> install.database
I follow you up to this point.
> 4. Time to initialize the object map used by
> the restore process. Run ant install.syncapi
Could you say more about what this does?
> 5. Time to run the script bin/testBackup.bsh.
> Make sure you edit the db connection info.
> The script will take the XML backup file as
> input and call the restore process.
> 6. If everything goes well you should have
> your gold in Centric.
I think I understand these last couple things as well.
Thanks for pointing me in the right direction, Ananth. This was very helpful. Any further guidance is appreciated as well!
~Tom