I’m attempting to get the overriden metadata maximum length of a field using the javascript API.
I’m currently using the following code to get the length of the field:
var flength = field.model.getField(field.id).length;<br>
This however, as per the API documentation, returns the Salesforce Metadata Length, and not the overridden length.
The value being returned is '350" to flength, and not ‘300’