You need to sign in to do that
Don't have an account?
Vikas Kumar 135
New Custom button issue
Hi All,
I have created a custom button on Avail object which is a related list on Opportunity.
Now, when I click on the button. The Opportunity Name is not populating.
Can anyone please help if I am missing something in the logic.
/a0O/e?CF00N500000032hk3={!Avail_Request__c.Opportunity__c}
&CF00N500000032hk3_lkid={!Avail_Request__c.OpportunityId__c}
&retURL=%2F0061g000002tm0Y
Regards,
Vikas
I have created a custom button on Avail object which is a related list on Opportunity.
Now, when I click on the button. The Opportunity Name is not populating.
Can anyone please help if I am missing something in the logic.
/a0O/e?CF00N500000032hk3={!Avail_Request__c.Opportunity__c}
&CF00N500000032hk3_lkid={!Avail_Request__c.OpportunityId__c}
&retURL=%2F0061g000002tm0Y
Regards,
Vikas
The button is pulling information from the object the button is displayed on. So the code in the button is pulling from the opportunity object not the avail request object as it does not yet exist. so your code should be...
/a0O/e?CF00N500000032hk3={!Opportunity.Name}
&CF00N500000032hk3_lkid={!Opportunity.Id}
&retURL=%2F0061g000002tm0Y
All Answers
The button is pulling information from the object the button is displayed on. So the code in the button is pulling from the opportunity object not the avail request object as it does not yet exist. so your code should be...
/a0O/e?CF00N500000032hk3={!Opportunity.Name}
&CF00N500000032hk3_lkid={!Opportunity.Id}
&retURL=%2F0061g000002tm0Y