MscrmTools / MscrmTools.PortalRecordsMover

Export/Import Dynamics 365 portal records
GNU General Public License v3.0
18 stars 13 forks source link

Exporting / importing creates duplicate records #51

Closed jonianas closed 2 years ago

jonianas commented 2 years ago

Hi, this is more of a query than a bug. I'm trying to export a portal, and im getting duplicate records (for example, 2 root page records for home, one with the default template and one with the correct template) during import. I've validated in portal management that the source website only has 1 root during export. Is it possible to track where the duplicate is coming from? I'm new with d365 as well, so apologies in advance. Thank you.

MscrmTools commented 2 years ago

Maybe the root cause of this is there is always an existing website with its pages in a target env. So exporting from source and importing to target does not remove existing pages. You should maybe clean the target website before or after the import

jonianas commented 2 years ago

Thanks, that makes sense, we'll try this out and i'll give an update. Btw, this is quite weird because we were using the tool a few months ago without any issues.

MscrmTools commented 2 years ago

@jonianas, is this still an issue?

jonianas commented 2 years ago

Hi, I wasnt able to retest using the same XML, but newer XML backups seem to work okay. Ill close the issue for now, and deepest apologies for the very late update.