문제

I want to access the metadata of a custom object and display the name of the custom object. This has been changed from the original and I want my page to always display the name without having to change any code or markup.

A label can be accessed as {!$Label.MyLabel}.

Is there something akin to {!$MyCustomObject.Label}?

Any ideas?

도움이 되었습니까?

해결책

Yes you can do this via the Global Variable $ObjectType i.e.

{!$ObjectType.CustomObjectName__c.Label}

also for these types of questions try the salesforce Beta, salesforce.stackexchange.com

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top