How To: Reference the original record in a new cloned record
March 4, 2017

How To: Load the Super Clone Copy page after the native record creation page

Copying child relationships from an existing record that acts as a template can save users a lot of time. A custom button can show the native record creation page, and then prompt the user to copy child records from an existing record when the new record is saved. For example, this could be used when creating a new opportunity, and after the opportunity is saved a page displays child relationship records to add(copy) onto that new opportunity.

The native record creation page uses a URL parameter of ‘saveURL’ to redirect to a new page after record creation. This can be set with a URL encoded string that specifies the Super Clone or Super Clone Pro Copy page. In that URL encoded string, set the ‘rid’ URL parameter to equal ‘newid’. Salesforce appends the ‘newid’ URL parameter after the save operation.

Super Clone Example:

Super Clone Pro Example:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.