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
alvatsealvatse 

Custom button - data not being carried over

I am building a custom button to convert a Case into Opportunity, hoping to carry over data in these Case fields (Account, LT_Community__c, Case Number, Account Manager, Non recurring ECR Amount) to Opportunity (for a particular record type).  For some reasons, Case Number and LT_Community__c are not getting populated with corresponding fields in Cases object. Any advice? Thanks

 

 

 

/006/e?retURL=%2Fa0C%2Fe%3FretURL%3D%252Fa0C%252Fe&RecordType=012000000008WTC&ent=Opportunity
&00N00000008jgnS={!Case.Non_recurring_ECR_Amount__c}
&00N00000007E8N3={!Case.CaseNumber}
&00N00000008jchG={!Case.Account_Manager__c}
&p/setup/field/StandardFieldAttributes/d?id=Name&type=Opportunity={!Case.LT_Community__c}

 

 

 

Ritesh AswaneyRitesh Aswaney

Im guessing this is a screenscraping type thing. I don't see {!Case.LT_Community__c} being assigned to an HTML Id like the other args.

 

You prolly need to grab the Id of the textbox that holds this field and assign this value to that Id.