How to Delete All Stream posts (it's all test data)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crmclients
    Senior Member
    • Jul 2020
    • 254

    How to Delete All Stream posts (it's all test data)

    I have several users testing today and need to at the end of the day delete all the Stream posts. Is there a way to do that w/o coding?
    I think I saw it somewhere but can not find the thread.

    100's of posts of garbage entries for testing
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hello crmclients,
    i have not a response w/o coding .. but i have a idea with coding : let me explain.. i think this must be a feature request

    stream -> is "note" entity with type "Post"
    so i have make a code : when user post "@sms hello you" .. . a sms is go to the contact.
    imagine we can develop this to : @deletePost ... so we delete post of contact
    or @deleteTodayPost ...
    we need to respect espocrm language... but a idea is there... like template

    Regards



    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • eymen-elkum
      Active Community Member
      • Nov 2014
      • 472

      #3
      Just run this sql statement:

      DELETE FROM `note` WHERE type='Post'
      CEO of Eblasoft
      EspoCRM Expert since 2014
      Full Stack Web Developer since 2008
      Creator of Numerous Successful Extensions & Projects​

      Comment

      • crmclients
        Senior Member
        • Jul 2020
        • 254

        #4
        Thanks for the input however we are using espocrm cloud ---> no coding, no SQL statements, no back end access

        so it looks like it is not possible except to manually delete each one, yikes!

        Comment

        • esforim
          Active Community Member
          • Jan 2020
          • 2204

          #5
          Yes, no way to for GUI Front End method.

          I doubt even API work for stream. I said API because although it is not GUI but it is accessible for Cloud user.

          Comment


          • crmclients
            crmclients commented
            Editing a comment
            ok thanks for confirming - i ended up manually deleting the posts but for EspoCloud users in the same situation - you can put a ticket in and support can delete them for you
        Working...