Obama '08

               
   

Go Back   Mike Simonds > Salesforce > Salesforce Coding Discussions

This is a discussion on Deleting Salesforce records within the Salesforce Coding Discussions forums, part of the Salesforce category; Hi Mike I'd like to write some PHP code which will delete

Reply
 
LinkBack Thread Tools Rate Thread
  #1  
Old 03-06-2008, 03:26 PM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2  
Old 03-06-2008, 03:35 PM
Administrator
 
Join Date: May 2007
Posts: 248
Send a message via AIM to mike Send a message via MSN to mike Send a message via Yahoo to mike Send a message via Skype™ to mike

do you have the data loader installed on your computer? you can do what you need to without having to write a script

~Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 03-06-2008, 03:41 PM
Administrator
 
Join Date: May 2007
Posts: 248
Send a message via AIM to mike Send a message via MSN to mike Send a message via Yahoo to mike Send a message via Skype™ to mike

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 03-06-2008, 04:04 PM
Unregistered
Guest
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



Powered by vBulletin


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc.

1 2 3 4 5