function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nikki goudnikki goud 

Can I Import the fields from one object to another object?

Gaurav NirwalGaurav Nirwal
Yes you can import the fields from one obj to another object 
this process can be done in salesforce
Gaurav NirwalGaurav Nirwal
If you load data using Dataloader, the "success" file contains the newly created object ID in a new field.
You can then use VLOOKUP function in excel on the master look-up field to populate it will the detail-object.
Gaurav NirwalGaurav Nirwal
No matter which import tool you're using, you can only do a mass import/update of one object at a time.

In this particular case, you'll need to upload object B first, then object A.  The reason you do B first is you need to get their record IDs to populate the upload in A.

Here's an example.  Let's say you want to import a Gym and a Gym Member object.  The relationship is such that every Gym Member must be associated to a Gym, aka every Gym Member has a lookup field to Gym.  The correct way to do this import is to:
1. Import all Gym records.
2. Upon successful import, the results file will have the record IDs of each newly created Gym.  If not available, do an export for these gyms and their record IDs
3. Populate the Gym Member file with the Gym record IDs retrieved in step 2.
4. Import Gym Members
Gaurav NirwalGaurav Nirwal
"You could make the relationship field on parent object an external Id. Using salesforce data loader you can import records from child object and refer to the parent and sf will do the linking for you."
Gaurav NirwalGaurav Nirwal
If your problem can solves 
Please mark as best answer
nikki goudnikki goud
HI
Mathews 

Thanks to ur reply, show me this process of navigation or send any video link
Gaurav NirwalGaurav Nirwal