This guide covers Salesforce iClone by GoCloudz: installing the app, configuring parent and child objects, cloning records, running bulk clones, and adding the iClone button.
iClone allows your users to quickly and efficiently clone records in Salesforce thereby bridging the gap in standard Salesforce. Out of box Salesforce does not allow cloning related list when cloning a parent record. This is a significant drawback because users have to clone each related list or child record manually.
For example, consider cloning Campaign with Campaign Members or Account with related Contacts and open Tasks. Using standard Salesforce, users will first clone Campaign or Account, then manually clone each campaign member, contact, task, etc. This is a significant drawback and not a good use of your users’ valuable time.
As an admin, you can eliminate manually cloning plus do a whole lot more with field overrides.
Some of the key features of iClone:
1. Go to AppExchange to install the app
2. Log in to the Production or Developer Edition org where you would like to install the app

3. Click “Get It Now” button
4. Select “Install in Production” or “Install in Sandbox”

5. Select the terms and conditions checkbox and click “Confirm and Install”
6. Select “Install for All Users” and click “Install”. This is recommended approach because it will apply all necessary permissions to the profiles for this app. You can easily provision/revoke access to certain users using manage license option.

You should get an email notification once the app is successfully installed. Usually it takes about 2-3 minutes for installation.
Once iClone is installed, please follow below steps to configure clone options for each object. This is required only once, unless you want to modify existing configuration.




Click “Quick Save” to save the changes and configure other child objects. Click Save to save the configuration and go back to the previous page
Below screenshot shows on how a configured object would look like. You can configure more fields or child objects by following above steps. Below configuration is for Account for “End Customer” record type. As an admin, you can have record type specific configurations. For example, you can follow above steps to configure Account object for different record type.

Once iClone is configured, end users can quickly clone any Account records along with configured related lists and fields in just a few clicks.
Go to the Account record that needs to be cloned. Click “iClone” button. Please see the iClone Button section on how to add the button to page layout.

As per iClone configuration, users will see a screen similar to the screenshot below to quickly review and create new records. You will notice some of the values are defaulted whereas some are erased as per the configuration. Also, users can pick and choose which child records to clone. In this case first 2 Opportunities and only 1 Asset will be copied over to newly created Account record.
Select “Re-Parent?” if you want to copy existing child record to newly created parent record. If selected, the child records will be moved from existing Account record to newly created Account record.
Click “Save” to create new records and navigate to newly created Account record.

You can now track which original record the current record was cloned from. All you need is a self-lookup field with API name “Cloned_from__c” and the app will take care of the rest. We have included this field for Account object, you can create new field on any other object that you want to track. Make sure to add this field to the page layouts.

Just like individual records, you can now clone records in bulk along with the field over-rides configured for that object. Bulk option is provided for Account and Opportunity object as part of the app, for other objects see Creating the Bulk Clone Button below to create the button.


For any object other than Account and Opportunity, please follow below steps to allow users to bulk clone the records. In this example we will assume it is for Lead object. You can replace ‘Lead’ with the actual API name of the object, for example ‘my_object__c’
Go to Setup > Visualforce Pages > New, enter the following code, and click Save:
<apex:page standardController="Lead" title="iClone :: Bulk Clone" recordSetVar="records" extensions="sfcloud1.iClone_Bulk" action="{!redirect}" >
<apex:pageMessages id="messages" escape="false" />
</apex:page>
Go to Setup > Object Manager > Lead > Buttons, Links, and Actions. Create button as per below screenshot. The Visualforce page is the one you just created above.

Finally, go to Search Layouts > List View to add the button to the List View and you are done. Now users can clone records in bulk, in Classic and Lightning mode.

Go to Object Manager > User > Page Layouts > Edit and drag the “iClone” link to the page and click “Save”. Please see below screenshot.

The iClone button already exists for these standard Salesforce objects: Task, Event, Lead, Account, Contact, and Opportunity. All you need to do is go to the specific page layout, and drag the “iClone” button to the page. Please see below screenshot for Account page layout. You can follow same step for any standard object mentioned above.
For any other object, please create iClone button as per next section.

For cloning any custom object or standard object not mentioned above, you must first create iClone button and then add to respective page layouts. In this example we will assume it is for custom object with API name ‘my_object__c’. You can replace the API name with actual API name of the object.

We hope this guide was helpful. For further assistance, contact us at support@gocpq.com