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
mallikharjunarao gundamallikharjunarao gunda 

populate the field values when i click on a custom clone button

hai i tryed to this, it doesn't populate the field values
https://ap2.salesforce.com/{!Opportunity.Id}/e?clone=1&retURL=%2F{!Opportunity.Id}&{!Opportunity.parent__c}="{!Opportunity.Account}"
Shweta_AgarwalShweta_Agarwal
Hi 

You need to give Id for the the {!Opportunity.parent__c} field. On edit mode do right click > inspect element and copy Id for the Paren input field.

For example : 
https://ap2.salesforce.com/{!Opportunity.Id}/e?clone=1&retURL=%2F{!Opportunity.Id}&CF00N9000000EVK2j="{!Opportunity.Account}"

Hope this will help you...

Thanks
Shweta
Tejas KardileTejas Kardile
Hi 

I have tried below URL redirect and its working fine for me.

https://ap1.salesforce.com/{!Opportunity.Id}/e?clone=1&retURL=%2F{!Opportunity.Id}&{!Opportunity.OrderNumber__c}="{!Opportunity.OrderNumber__c}"

OrderNumber__c is custom field
Thanks
Shweta_AgarwalShweta_Agarwal
Hi 

I think parent__c is a Lookup field that's why direct assignment is not working.

Thanks