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
David JobeDavid Jobe 

how to create a button clone with new record type

Hello,
I am trying to build a custom button for my case object that changes the record type when cloning. I have read online various methods, but am having no luck recreating one that works.
The record type id is 0124C0000004Rmh
Any help would be greatly appreciated.
Shruti SShruti S
Yes it is possbile. To which record type does it needs to be changed?
David JobeDavid Jobe
The record type it needs to be changed to is called "Settlement Process", and it's record id number is 0124C0000004Rmh
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same issue
1) https://success.salesforce.com/answers?id=90630000000hRdfAAE
2) https://developer.salesforce.com/forums/?id=906F00000008leTIAQ

Try 
/{!Lead.Id}/e?RecordType=0124C0000004Rmh&clone=1

Please check post for URL hacking
1) http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html

Let us know if this will help you
 
David JobeDavid Jobe
Thank you! That has gotten me further, though now I am running into an error. It opens up in a new window, and when I go to save, it gives me this.

Invalid Page Redirection
The page you attempted to access has been blocked due to a redirection to an outside website or an improperly coded link or button. Please contact your salesforce.com Administrator for assistance. For more information, see Insufficient Privileges Errors.

Click here to return to the previous page.
Amit Chaudhary 8Amit Chaudhary 8
Can you please share your button screen shot with code
David JobeDavid Jobe
User-added image
Amit Chaudhary 8Amit Chaudhary 8
update the button and make it "URL"
David JobeDavid Jobe
Same result, unfortunately.  
Shruti SShruti S

+1 Can you please get us a screenshot of the latest button config ?