Hi,
I'm creating a news section on a site, using CMSImport to import the data (from a separate database) into Umbraco and then using Autofolders to sort the folder structure into years and months. Whenever I do another import, it creates a duplicate of the content articles under the month folders.
In CMSImport Pro there is an option to check for duplicates, but this becomes a bit of a defunct feature as Autofolders then sorts the articles into a folder structure - CMSImport relies on the articles to be in the same folder to perform the duplication check.
Each news article has a unique article ID. Is there a way that I can use Autofolders to check the ID of the article to see if it already exists before doing the document move? (And then ideally delete it or move it to different unpublished location). In the source code, it is currently doing this:
if (parentId != newParentFolderId) documentObject.Move(newParentFolderId);
Thanks,
Bijesh
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/10598-duplicate-content