Use the URL parameter ‘saveURL2’ to redirect the user to the native edit page. This parameter accepts a URL encoded string of the native edit page, and ‘newid’ will be replaced with the created record’s Id.
The value of the saveURL2 parameter below ‘%2F%5Bnewid%5D%2Fe%3FretURL%3D%2F%5Bnewid%5D’ is a URL encoded string of ‘/[newid]/e?retURL=/[newid]’. On saving the new cloned record, the ‘[newid]’ value will be replaced with the new record id, and the native edit page will load with a location like ‘https://na1.salesforce.com/006380000012345/?e?retURL=/006380000012345’.
Super Clone
1 2 3 |
/apex/dh_superclone__superclone?rid={!Opportunity.Id}&cfg=MyConfig&saveURL2=%2F%5Bnewid%5D%2Fe%3FretURL%3D%2F%5Bnewid%5D |
Super Clone Pro
1 2 3 |
/apex/lcrm-scp__scpclone?rid={!Opportunity.Id}&cfg=MyConfig&saveURL2=%2F%5Bnewid%5D%2Fe%3FretURL%3D%2F%5Bnewid%5D |
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.