7 votes
Accepted

Migrate history data from one org to another

yes, history cannot be created since AccountHistory, CaseHistory and ContactHistory doest't support create() operation. See the following docs for more information. Account History SOAP API Contact ...
user avatar
  • 793
6 votes

Reliable way to import thousands of attachments to Salesforce?

Salesforce has a limit to the size of the attachments you can upload into Salesforce (assuming they are 'Attachments' and not Chatter Files). The limit for attachments was recently increased from 5MB ...
user avatar
  • 81
4 votes
Accepted

Best Practice: Data Migration

There are so many guides and points to consider while doing data migration, but I shall try to keep it down to testing/validation of data migration only. If you have the full-copy sandbox that is the ...
user avatar
  • 5,537
4 votes

Data migration of custom objects

If you want to backup your data you can refer to this article. Also as I understand you will be only creating new records so you can just leave your old data there before you are ready to delete it. (...
user avatar
  • 2,101
4 votes
Accepted

Created by field is not showing in Data loader

The CreatedBy Field is a read-only field that cannot be updated via dataloader without "Set Audit Fields upon Record Creation" permissions. Previously you had to file a Case with Support to turn this ...
user avatar
  • 40.4k
3 votes

Data migration of custom objects

Import2 can assist with the migration and mappings of your custom objects to standard objects. Please feel free to start a free sample here: https://www.import2.com/salesforce. Once the sample is done,...
user avatar
3 votes
Accepted

Move Chatter profile photos

After a bit of searching, I found the answer at this post: Exporting Photos: How can you download all profile pictures for all users in a given SF org? It uses a combiniation of REST and Python, but ...
user avatar
  • 1,550
3 votes
Accepted

Feed migration for one custom object to other custom object

Likes on comments aren't supported in the sObject API. They're only supported in the Chatter REST API and through the ConnectApi methods in Apex. If you know the ID of the comment, you can retrieve ...
user avatar
  • 2,723
3 votes
Accepted

Data Sync from Salesforce to Pardot

The connector does not create prospects retroactively. If you use the setting 'Automatically create prospects in Pardot if they are created in Salesforce', those prospects are created only after the ...
user avatar
  • 2,089
3 votes

Inserting Chatter FeedItems with type 'TrackedChange'

You won't be able to insert a FeedItem with Type TrackedChange. The documentation states that you cannot create a FeedItem with all Type values, but only few. Below is an excerpt from the Type field'...
user avatar
3 votes

How can I export all my Salesforce Community data?

This question is broad so it will likely be closed but to give you a direction to look at: You should look at FeedItem, FeedPost and FeedComment. This ERD will be helpful. The feeditems can also point ...
user avatar
  • 7,658
2 votes

Migrate history data from one org to another

I do not believe that it is possible to migrate data into the History tables. They do not have the "createable" or "updateable" attributes that would allow you to populate them. The reason is that ...
user avatar
  • 3,548
2 votes

Automating moving data from Prod to Dev

You can use DBAamp you can easily access your Salesforce objects using SQL Select, Update, Insert and Delete statements. Then you can automate by writing SQL scripts that will pull data from live and ...
user avatar
  • 3,162
2 votes
Accepted

Automating moving data from Prod to Dev

One way that might work would be to create prod_id fields that are external ids in your dev org and schedule the export to a csv file from production and then use the csv files to upsert to your dev ...
user avatar
  • 10.4k
2 votes

Copy list of accounts and its related records from Prod to Sandbox

1.)Export the Accounts from Prod as a csv. Keep the 18char id intact 2.) Export the related records as a csv with the Account 18char id intact. 3.) Make a legacyid field on each related object making ...
user avatar
2 votes

Reliable way to import thousands of attachments to Salesforce?

I never was able to get DataLoader to work reliably. I ended up using the excellent restforce (https://github.com/ejholmes/restforce) Ruby gem to craft a small script to upload attachments. This ...
user avatar
2 votes

record Created By

You will have to contact salesforce support team. They can enable editing in audit fields(Created Date etc) for you. Once they have enabled it, you can update created dates.
user avatar
  • 3,491
2 votes

Best practices for bulk updating old data

If you don't want to use batch classes to update your contacts, the other approach would be to use Developer console and run anonymous code snippets like below String lastExecutedId=''; String ...
user avatar
2 votes
Accepted

Import Data to Salesforce from another sources

You can do it following these links: https://www.newfangled.com/things-consider-importing-data-salesforce/ Or you can use Salesforce APIs to integrate your data from your external applications to ...
user avatar
2 votes
Accepted

can't export project to eclipse IDE

it is a problem of eclipse, not of system. Please add some more JVM memory in eclipse.ini file (in Eclipse folder) -vmargs -Xms128m -Xmx512m -XX:MaxPermSize=128m Hope it helps you :)
user avatar
2 votes

Data Migration from one production org to another

I'm currently in the midst of this for an org of Account-Contact-Case-CaseComment-Task (a thankless task) I'm planning on a specific runningUser + Data Loader + triggers as you can do several things ...
user avatar
  • 62.3k
2 votes

What is the sequence of migrating data from one Salesforce to another Salesforce org

Your question is too broad. You should import first parent records and then import the child records. Like this sequence: User Account Contact Case Task Event Also, rather than migrating all the ...
user avatar
2 votes

Pardot Prospect sync when connecting to a new SFDC org

I will give you a short and direct answer to this.(I was only able to find it after couple of days research). The easiest way to overcome this is Do not setup existing Pardot instance with new SF ...
user avatar
2 votes

How can I migrate data and related data from one org to another org?

Yes, there are a few different tools out there on the AppExchange and elsewhere that allow you to upload related records in a single pass. Services like Sesame Software's Relational Junction, ...
user avatar
  • 433k
2 votes

could anyone explain, why this error comes "DUPLICATE_VALUE:This price definition already exists in this price"

For each Product2/Pricebook2/CurrencyIsoCode combination, you are only allowed to load a single value. This restriction is in place so that users can have the correct price for a given product based ...
user avatar
  • 433k
2 votes
Accepted

Method for synchronizing Contacts Fields with Leads Fields Using Metadata

First, is this a good approach? Maybe, but I'm pretty skeptical. Can you define the business case for needing over 200 custom Contact fields on your Lead object? Surely your web-to-lead forms won't ...
user avatar
  • 86.8k
2 votes

Questions: Migrate data from one organization to another

Steve, several things here. You can always use dataloader to import data or you can use some tools like Talend, Informatica etc.. -Q: What do I need to do in order to avoid duplicates? It is not to ...
user avatar
  • 397
2 votes
Accepted

Questions: Migrate data from one organization to another

I would really recommend that you engage a consultant at least to assist you in planning this process. Attempting to do a data migration while very new to the platform and with no exposures to the ...
user avatar
  • 86.8k
2 votes

Is this possible to migrate user records from one organization to another using SFDX?

Looks like it is not possible to achieve without apex. However, apex code can be called from sfdx. So, we can write some file createUsers.apex and place it in scripts/apex folder of sfdx project. ...
user avatar
  • 13.3k
2 votes

Load PricebookEntry in empty Scratchorg with Cumulusci

Whitespace and indentation are significant in YAML. This mapping file isn't valid and would result in CumulusCI missing information and misunderstanding your intent. A correctly-formatted version of ...
user avatar
  • 86.8k

Only top scored, non community-wiki answers of a minimum length are eligible