Skip to main content
We use the campaign object extensively.   There is some information in the campaign object (custom fields) which does not apply to a new campaign.  When we clone a campaign that information is automatically included in the clone.   As long as the user remembers to clear the information everything is ok.  When the user forgets to clear the fields it causes problems with out reporting.

 

In the Campaign object, Buttons and Links, I added:

 

   Label:   Clone this Campaign

 

   Name:   Clone_this_Campaign

 

   Behavior:  Display in existing window without sidebar or header

 

   Object Name:  Campaign

 

   Link Encoding:  Unicode (UTF-8)

 

   Display Type:  Detail Page Button

 

   Button or Link

 

URL:   /{!Campaign.Id}/e?clone=1&retURL=%2F{!Campaign.Id}&{!Campaign.Recap_Reason__c}=&{!Campaign.Date_Cancelled__c}=&{!Campaign.CMS_Updated_Date__c}=

 

When I use this button to clone a campaign the Recap Reason, Date Cancelled and CMS Updated Date keep the values from the source record.   I am using the sandbox.

 

Any help in making this work is greatly appreciated.
16 Antworten
  1. 21. Dez. 2016, 14:42
    Awesome thread, super helpful!

     

    I've been able to make this following custom clone, only issue is the "NOW" for date/time comes through as text. Anyone know how I would get it to use the actual now function?

     

    /{!Service_Request__c.Id}/e?clone=1 

     

    &retURL=%2F& 

     

    {!Service_Request__c.Id} 

     

    &00N1600000EgsQv="NOW"

     

    &00N1600000EgsR5="Logged"

     

    &00N1600000EgsRF=

     

    &00N1600000EgsRA=