Timeline for incorrect signature: void getDescribe() from the type Schema.DescribeFieldResult
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 7 at 15:14 | comment | added | sfdcfox♦ |
The newer sObjectType describe model was intentional (although confusing). It's not going to change because it's working as designed. To get an sObjectType token, you use <sobjectType>.sObjectType , to get a describe it's sObjectType.<sobjectType> . The docs could do better to call that out, though.
|
|
Jun 7 at 14:54 | comment | added | Derek F | It'd probably be nice to get some consistency from Salesforce here (you can get the SObject Field token from the DescribeFieldResult, and vice-versa), but this is probably behavior that a lot of customers depend on. So I wouldn't hold my breath on that being changed. | |
Jun 7 at 14:51 | history | answered | Derek F | CC BY-SA 4.0 |