+ Start a Discussion
Gita BorovskyGita Borovsky 

Custom Button Cloning Help

I have a button that allows me to clone an existing oppotunity.  It currently pulls in the amount from the original opportunity.  I'd actually like to add some code that would default Amount to 0.  It seems that I cannot find the field id for Standard opportunity fields.  Any ideas?  Here's the code:

/{!Opportunity.Id}/e?clone=1&
cloneli=0&
opp9={!month( Opportunity.Subscription_End_Date__c )}/{!day( Opportunity.Subscription_End_Date__c )}/
{!year( Opportunity.Subscription_End_Date__c +1)}&
retURL={!Opportunity.AccountId}&
saveURL={!Opportunity.AccountId}&
00N50000001zTKO=Renewals&
opp3={!Opportunity.Account}+{!Opportunity.Services__c}+renewal+2015&
opp6=Renewal&
opp11=Renewal&
opp12=90&
00N50000002abEN=1&
00N50000002Z8wQ=false&
00NP0000000jn5p=1&
00N50000002ZktF=false&
00NP0000000jcOq=false&
00N500000021Fmt=&
00N500000021Fmy=&
00N500000021FqR=&
00N500000021FnI=&
00N50000002ZhWN=&
00N50000002ZhWS=&
00NP0000000jrqp=&
00NP0000000jrqk=&
00NP0000000jrqu=&
opp10=&
00N50000002ZXXB=Annually&
00N500000021Fl7=false&
00N500000021FqR=&
00N500000021FlC=&
00N50000002aanM=&
00N50000002abFV=&
00N50000002aanH=&
00N50000002aZCe=&
00N50000002aZ3m=&
00N50000002aZ3S=&
00N50000002aSii=&
00N50000001y6OR=&
00N50000002aaoo=&
00N50000002aaoj=&
00N50000002afIT=&
00N50000002acHw=&
00N50000002aX6U=&
00N5000000216cQ=&
00N50000002amEi=&
00N50000002abDt=&
00N50000002bOt0=&
00N50000002Zkto=&
00N50000002amEd=&
00N50000002aSii=&
00N50000002bSIc=&
00N50000002bSIw=&
00N50000002a2pQ=false&
00N50000002a2pV=&
00N50000001z0gp={!month( Opportunity.Subscription_End_Date__c +1 )}/{!day( Opportunity.Subscription_End_Date__c +1)}/
{!year( Opportunity.Subscription_End_Date__c +1)}&
00N50000001z0gu={!month( Opportunity.Subscription_End_Date__c )}/{!day( Opportunity.Subscription_End_Date__c )}/
{!year( Opportunity.Subscription_End_Date__c )+1}&
00N50000002022y=&
00N50000001z0TR=&
CF00N50000002av1f="Me"&
CF00N50000002av1f_lkid={!Opportunity.Id}&
00N50000001y6OR=


Thanks!
KevinPKevinP
I'd like to suggest that rather than using URL Hacking to acomplish this, you could easily build a quick action (or publisher action) to acomplish it in a much safer way.