Deleting multiple articles via admin panel

I have an article application containing many entries, over 30k and want to delete them all, in the admin panel I am allowed to delete all but it only seems to delete 100 entries

If I delete the application the content is not removed, the application is hidden but still exists in the platform, is there a way to remove it and all its content ? 

Parents
  • Hi Stephen

    I write an automation to purge these 36k articles and can see they are flagged as IsDeleted and appear in the deleted tab in article admin panel but are still not being removed?

    #set($articles = $articles_v1_articles.List("%{ ArticleCollectionId = $collectionId, IsDeleted = 'false', pageSize=100, PageIndex=0 }"))
    
    #foreach ($article in  $articles)
        $core_v2_eventLog.Write("Purging articles - $articles.Count - $articles.TotalCount - $collectionId - $article.Title", "%{ Category = 'IET Purge', EventType = 'Information' }")
        $articles_v1_articles.Delete($article.Id)
    #end


    I have reset the job to run every 15 minutes with a threshold of 1 day and still no joy

    The versions in the database do not appear to be flagged as IsDeleted but are also not flagged as IsActive

    Any suggestions as we currently have 750mb of table data we no longer need ? 

    The build is 12.0.2.17146

Reply
  • Hi Stephen

    I write an automation to purge these 36k articles and can see they are flagged as IsDeleted and appear in the deleted tab in article admin panel but are still not being removed?

    #set($articles = $articles_v1_articles.List("%{ ArticleCollectionId = $collectionId, IsDeleted = 'false', pageSize=100, PageIndex=0 }"))
    
    #foreach ($article in  $articles)
        $core_v2_eventLog.Write("Purging articles - $articles.Count - $articles.TotalCount - $collectionId - $article.Title", "%{ Category = 'IET Purge', EventType = 'Information' }")
        $articles_v1_articles.Delete($article.Id)
    #end


    I have reset the job to run every 15 minutes with a threshold of 1 day and still no joy

    The versions in the database do not appear to be flagged as IsDeleted but are also not flagged as IsActive

    Any suggestions as we currently have 750mb of table data we no longer need ? 

    The build is 12.0.2.17146

Children