Plural Label of Managed Package Object

I have an Object which is deployed using Managed Package in my Org. Here is the object (Name Changed):


API name of the custom object is res__Accs__c. Now when I tried to get the plural lable of the object in apex class as res__Accs__r, I am seeing an error that the API name is incorrect.

Can anyone please let me know how to get the Plural API name of Custom Object which is deployed using Managed Package

Answers 1

  • You object name should be extracted from Object Name field in your image.

    So it should be res__Accs__c and res__Accs__r and not the field label and plural labels.

    Both field label and plural labels are generally available when configuring Custom object tabs.

    enter image description here

    From Setup --> Quick Find --> type packages

    enter image description here

Related Questions