You need to sign in to do that
Don't have an account?
Bryn Jones
Referencing Account Field
I have my standard controller as Contact.
The below comes up with 'Error: Invalid field ShippingAddress for SObject Account'
<apex:outputtext Value="Address: {!Contact.account.ShippingAddress}"/>
But when i use a custom field such as NOC__c instead of ShippingAddress it works fine!!
Please help
The below comes up with 'Error: Invalid field ShippingAddress for SObject Account'
<apex:outputtext Value="Address: {!Contact.account.ShippingAddress}"/>
But when i use a custom field such as NOC__c instead of ShippingAddress it works fine!!
Please help
{!Contact.account.Shippingstreet} {!contact.account.shippingcity} {!contact.account.shippingstate} {!contact.account.shippingpostalcode}
Etc..
You just need a merge field for each field you want to access and you can build it out that way.
All Answers
Thanks a ton.
Bryn
{!Contact.account.Shippingstreet} {!contact.account.shippingcity} {!contact.account.shippingstate} {!contact.account.shippingpostalcode}
Etc..
You just need a merge field for each field you want to access and you can build it out that way.
Couldn't find anything else about it anywhere....
Bryn.