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
Book_GuyBook_Guy 

Can a Custom Button pull data from a field from a related object?

Hi All,

 

We have a custom object called Payments, which has lookup relationship with the Account object.  I have a button on the Payment Object which is trying to pull in some fields from the Account it is related to.  Here is an example of the code, which is not working:  &00N300000016SIV={!Account.PaymentAddressLine1__c}

 

Any suggestions?

 

TIA

 

--David

sfdcfoxsfdcfox

You'll have to query or for the value, use a vf page, or make a formula field.