How To “Clone Custom Fields” From “One Object To Another Object” In Salesforce?

clone multiple custom fields

IDEA: For any Salesforce Admin or developer, if there is a requirement to mass clone fields from an Object (Custom or Standard or Managed) of same org or from any external non-linked Salesforce org.

It is a tedious job to copy each and every field one by one using Salesforce Standard process. These type of work requests would take more effort and time, so one of the best option to overcome this situation is using the AppExchange tool called Bulk Object Field Creator (BOFC).

Benefits of using BOFC for Cloning Salesforce Fields:

  1. BOFC supports source object of same org or any external non-linked Salesforce org
  2. BOFC supports all field types i.e. User can clone fields of all types
  3. User can clone fields of any source object (Custom or Standard or Managed) to any type of Target Object (Custom or Standard or Managed)
  4. Multiple fields of Source object can be Cloned to Target object at a time
  5. Each field attributes or properties are Cloned
  6. Field Permissions for each field for all selected profiles are also cloned
  7. Easy, Simple, Clickable process to clone fields.

Note:

To avail this feature, kindly make sure you have installed the latest version of the application. You can upgrade your package using either of two ways:

  1. In Salesforce, go to “BOFC Home > Settings > App Version > Click to Upgrade” — or —
  2. Refer the below button to quickly upgrade your package to the latest version and explore its complete benefits:

Stay up to date with the latest in BOFC - Latest features, offers, news, tips and more

Few Simple Steps to Clone Multiple Custom Fields in Salesforce

Step 1. Open the BOFC Home > Click “Bulk Clone Fields”.

Bulk Clone Fields


Step 2. It will open below screen for BOFC Clone Fields.

BOFC Clone Fields

User can clone the fields from different type of source orgs:

  • Can clone fields from an Object in the current org in which BOFC is installed
  • Can clone fields from an Object of external org which are linked / non-linked to current org in which BOFC is installed

Step 3. Select the “Source Org” from the where you want to clone the fields & Enter the API name of the source object

Select the Source Org

Step 4. Select the target object

Select the target object

Step 5. Let’s manage the field permissions for Target Object & its fields

manage the field permissions

Here user can select multiple profiles & can choose what type of field permission should be assigned to new fields (Read or Edit).

Step 6. Finally we are ready with all the configuration and ready to initiate the process to clone.

initiate the process to clone

Click “Fetch Source Object Fields” – On clicking this button, it will fetch all the source fields of the selected source object

Step 7. Once the “Fetch Source Object Fields” button is clicked, it will display all the fields of a selected source object.

For ex:  Source Object: LOB__c
            Target Object : Opportunity 
Fetch Source Object Fields

Above image has many features (each number has its description as below):

  1. User can filter source fields on the basis of Field Names
  2. User can filter source fields on the basis of Field Types
  3. Pagination – This page has a pagination if count of fields is more than 80. Each page shows 80 fields. User can use “>” or “<” or “<<” or “>>” buttons to navigate on other pages.
  4. User can select source fields by checking check boxes in-front of each row
  5. Total Field Count on page & Selected field count (for clone)
  6. Button “Clone Fields to Target Object” – On clicking this button, it will clone all the selected source fields to target object

Step 8. Select the Fields which you want to clone by selecting checkbox in-front of each row.

Select the Fields

Once source fields are selected, Click “Clone Fields to Target Object” button to Clone fields from Source Object to Target Object.

Step 9. Once the Clone action is completed, it will show “Success or Error” status message in-front of each row.

Once the Clone action is completed

All the field attributes like (label, api name, description, help text, etc) are cloned and also fields permissions are cloned for each profiles.

******************************************************************************

Have you started using BOFC yet? Thousands of BOFC users have been able to save time & boost productivity using our Salesforce Metadata app. Click here to install the latest version of BOFC application in your Salesforce instance & explore its complete benefits for you.

For any queries or suggestions, you can write your comment in the comment box or for further assistance contact us at https://www.bofc.io/#contact or mail us: support@bofcapp.io. Our BOFC Expert will help you get the best out of it.

Experience it for yourself

Bulk Object Field Creator (BOFC) is a must-have tool, designed specifically for Salesforce.com Administrators, that simplifies many of the tedious tasks of managing a complex Salesforce environment.

This tool is available on Appexchange and Click on below button to install the
latest version of BOFC

or learn more
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments