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
mdqhmdqh 

Getting address label

Hi,

 

Does anyone know how to get the label of an address as shown on the detail page? I'm not talking about the label of the individual address fields (eg. $ObjectType.Account.Fields.ShippingStreet.Label), but the label of the whole address.

 

I'm writing a VF page to be used as a "field" on a detail page. And I'd like to show the VF page's label with the VF page as they'll line up with the other fields on the page. My question is: is it possible for the VF page to change its own label because I'd like to derive its label from the label of another field. Or is there a way for the user to configure the label of this VF page?

 

Thanks,

mdqh