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
Rajesh ShahRajesh Shah 

Cloning in SControl

Hi,
How do I use the Sobject method clone() in an SControl ?
 
 
RexRex

I am not sure what you are trying to do. Try this

{!URLFOR($Action.Contact.Clone,  Contact.Id )}

The following statement will return the URL for cloning a contact when given an contact id to it.
Rajesh ShahRajesh Shah

Thanks for the reply.

I actually want to do the following thing :

Based on certain conditions, I need to clone some other objects.

If  I use URLFor , will it direct me to directly the another page like the standard clone functionality?

 

 



Message Edited by Rajesh Shah on 04-22-2008 12:16 AM