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
Christian TJuul MikkelsenChristian TJuul Mikkelsen 

save_new_url url hack

When saving a new related record (junction object) on a case we are struggeling with recordtype selection when the user clicks "Save and new". 

We would like to set the record type to the same as the record that was just created. However I have not found a way to do so. Currently my button looks like this: /a10/e?CF00Nw0000008kJ7j={!Case.CaseNumber}&CF00Nw0000008kJ7j_lkid={!Case.Id}&RecordType=0121r000000Ar5e
I have tried adding the save_new_url like this:
&save_new_url=%2Fa10%2Fe%3FCF00Nw0000008kJ7j%3D{!Case.CaseNumber}%26CF00Nw0000008kJ7j_lkid%3D{!Case.Id}%26RecordType%3D0121r000000Ar5e
However I cannot get it to work. 

Hope that some can spot my error.