You need to sign in to do that
Don't have an account?
Help with custom clone button
Hello,
I've created a custom clone button for my support analysts to use so that no matter what status their case is in, and no matter what entitlement fields are populated, the newly cloned case will show a status of "New Incident" and all of the entitlement fields will be wiped clean.
Here is my code
/{!Case.Id}/e?clone=1&retURL=%{!Case.Id}&00N700000022SWB='New Incident'&00N700000028niR=&00N700000028niY=&00N700000028nir=&00N700000028niE=&00N700000028nid=
The code works nicely. The problem I am running into now is that if someone click on the button to innitiate the clone, and them the do not save the clone and click cancel instead they get the "URL No Longer Exists" page. The URL below is what is shown in the address bar...
https://cs3.salesforce.com/500/P0Q0000000cwJ9
If I just click the back arrow instead of cancel, the browser acts accordingly and goes back to...
https://cs3.salesforce.com/500Q0000000cwJ9
So, why is the "/P0" getting added when I click cancel, and how can I remedy this.
Cheers,
Ward
Just in case someone else happens upon this posting - the solution is to add 2F after the % in the URL....
Thus the URL becomes