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

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.




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).

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



Wrote a post about this at Seems the relationship names are not always consequent.