+ Start a Discussion
Shruthi NarsiShruthi Narsi 

I need to save records from developer console! URGENT

Hi

I need to save the out from the developer console. I need the ids and names of accounts to migrate contacts related to the accounts. Can anyone help me with the same
AbhishekAbhishek (Salesforce Developers) 
First, open Developer Console and run query on any object for which you want to export the data. Once the data is displayed. Right-click on First row + First column and then select Inspect Element. In the Elements tab, you will see a div with id=" gridview -*(few numbers) 

Follow the steps as mentioned in the blog,

https://newstechnologystuff.com/2019/07/28/data-export-from-developer-console/#:~:text=First%20open%20Developer%20Console%20and,%22%20gridview%20%2D*(few%20numbers)%20.

For further reference check this too (https://salesforce.stackexchange.com/questions/15328/export-results-from-developer-console-query-editor).

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.
Exploring BitsExploring Bits
First you will be required to export all the records in a CSV file. 
Then you can delete the records that you require in the CSV file. 
When you have deleted all the records in the CSV then you can map the ID Column of the CSV file to the Id column of the object. 
For Further Reference ( https://exploringbits.com/how-to-delete-records-from-developer-console-in-salesforce/ )