ForumForumDotnetnuke Foru...Dotnetnuke Foru...DNNInfo ModulesDNNInfo ModulesImport / Export feature DNN ClassifiedsImport / Export feature DNN Classifieds
Previous Previous
 
Next Next
New Post
 1/17/2012 10:06 PM
 

I am unable to get the import xml working on a XML file I created with 60 generic classifieds.

To troubleshoot the issue, I created two example records, then exported them to an XML file, deleted these two records through the admin panel, then tried to reimport the same XML file the module just exported.

In both cases, when I try to import my XML file with 60 records or the XML file I just exported on the 2 sample records, I just get the message "The data has been imported successfully. There are 1 record(s) have been imported" - but the records still don't show up in the admin panel.

Thoughts?

New Post
 1/17/2012 10:30 PM
 

Paul,

Are you trying to import from site A to site B?
basically you want to duplicate the data from site a to site b. If that was the case, when you get the xml data (export file), make sure the classifiedid of each data is set to 0.
So when you import the file to site B, it will create the new record. If the classifiedid is bigger than 0, the importing data will perform an update.

Btw, this is just from my quick though, but i need to clarify again when i check the code. I am currently out of my dev desk.

New Post
 1/18/2012 8:29 AM
 

Thanks for the tip andy, I changed the classifiedid of each record to 0 from my export file - that was part of the problem - but even with classifiedid set to 0 on all the records it gives me the same error

To clarify, yes I am trying to copy from site A to B.

New Post
 1/18/2012 8:41 PM
 

Maybe a bug, are you installing the latest version, 3.7.0?
I will do some testing tonight will let you know in the forum.

New Post
 1/18/2012 9:10 PM
 

Yes, 3.7.0. Thanks for checking into it.

Previous Previous
 
Next Next
ForumForumDotnetnuke Foru...Dotnetnuke Foru...DNNInfo ModulesDNNInfo ModulesImport / Export feature DNN ClassifiedsImport / Export feature DNN Classifieds