New answers tagged describesobject
0
votes
Accepted
Get character limit for long text area using Apex
getLength() method of Schema.DescribeFieldResult returns the length.
For ex.,
Schema.DescribeFieldResult field = Account.Description.getDescribe();
System.debug(field.getLength());
prints
32000
0
votes
If-Modified-Since header not working
For anyone stumbling across this, I think I figured it out. It seems to be that the value used for the If-Modified-Since header is incorrect, i.e. even though the Contact object was not technically ...
Top 50 recent answers are included
Related Tags
describesobject × 190apex × 99
describefieldresult × 32
sobject × 29
schema × 21
sobjecttype × 17
visualforce × 14
soap-api × 13
soql × 12
rest-api × 10
api × 8
fields × 8
dynamic-soql × 7
standard-objects × 7
describes × 7
dynamic-apex × 6
custom-object × 5
picklist × 5
governorlimits × 5
metadata × 5
sobjectfield × 5
lightning-aura-components × 4
trigger × 4
unit-test × 4
record-type × 4