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
Prasad MPrasad M 

Case Clone

Hi Folks, 

I need to create a cusotm button on case which will clone the information. In the process of doing it, I need to make few standard field values as blank. Like Subject, Entitlement and Asset. Not sure if its possible. 

Thanks in advance for inputs!!!!
Dilip_VDilip_V
Hi Prasad,

You can do that.But you have to fill standard required fields such as Case origin and Case Status.
And any other required fields in your Org.

Thanks.

 
Prasad MPrasad M
Thanks for quick on Dilip, 
So, do I need to include mandatory values in the script?
Below is the script:

{!REQUIRESCRIPT("/soap/ajax/22.0/connection.js")} 
window.parent.location.href="/{!Case.Id}/e?clone=1&retURL=%2F{!Case.Id}&00N3100000FuBCL=&00N3100000FuBCQ=&00N3100000FuBCf=&00N3100000FuBCg=&00N3100000FuBCj={!Case.Subject}=/{!Case.Id}";
Dilip_VDilip_V

Yes prasad.