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
ShivaShiva 

Limitation on field and reference length

Is there any limitation for field name and reference name length in the custom object?

 

I have reference name "LicenseKey_Product_Release__r". giving error refrence not found. But I checked the referenace name permissions to the object etc. and they look good.

 

 

 

HarmpieHarmpie
Are you sure that you used the correct relationship name? I noticed sometimes relations get names similar to an Id, as opposed to the documented standard for relationship names (which should be ....__r).
RavanRavan

LicenseKey_Product_Release__r the reference name used will be LicenseKey_Product_Release__c and if you wish to access fields from the LicenseKey_product object then you will use

 

LicenseKey_Product_Release__r.FieldName

HarmpieHarmpie
Wrote a post about this at http://blog.harmkorten.nl/archives/4-Salesforce.com-and-inconsequent-object-relationship-names.html. Seems the relationship names are not always consequent.