+ Reply to Thread
Results 1 to 6 of 6

Thread: Deleting Salesforce records

  1. #1
    cmctam is offline Junior Member
    Join Date
    Mar 2008
    Posts
    8

    Deleting Salesforce records

    Hi Mike
    I'd like to write some PHP code which will delete all the records I have imported into Salesforce. The Mass Delete option in Salesforce only allows me to delete 250 at a time. I'm hoping you can point me in the right direction.
    Thanks
    Tammy

  2. #2
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    557
    Blog Entries
    15
    do you have the data loader installed on your computer? you can do what you need to without having to write a script

    ~Mike

  3. #3
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    557
    Blog Entries
    15
    to get the data loader, you login to your instance of salesforce, go to

    Setup > Administration Setup > Data Management > Data Loader

    You can install it and extract all the Id's from the object that you want to remove the records and then use the same export file and run a delete

    Or you could write php extract scripts and store the Id's in a Database and then write a php script to perform the delete.

    I suggest the first one


    Hope that helps and if not, please do ask more questions

    ~Mike

  4. #4
    Unregistered Guest

    data loader

    Hi Mike

    Thanks for the speedy, helpful reply.
    I'll download the data loader and give it a try.
    Don't know how I would have found it on my own...any suggestion?

    I'm struggling to put all of the puzzle pieces of salesforce together!
    Any advice on the most expedient way to know what I need to know!!??

    Finally have a handle on what I need to do. Now to figure out how

    Tammy

  5. #5
    susan123 is offline Junior Member
    Join Date
    Apr 2010
    Posts
    1
    thanks for wonderful sharing mike..........
    susan

  6. #6
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    557
    Blog Entries
    15
    Thanks Susan and I appreciate you joining the site! Please let me know if we can help you out with anything

    ~Mike

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO 3.5.1