Skip to main content

New answers tagged

2 votes

incorrect signature: void getDescribe() from the type Schema.DescribeFieldResult

Well, Type is the name of a class (and not one of the reserved keywords), but that's not the issue here. Schema.SObjectType.Case.fields.Type and Schema.SObjectType.Case.fields.Subtype__c are already ...
Derek F's user avatar
  • 62.4k
3 votes
Accepted

incorrect signature: void getDescribe() from the type Schema.DescribeFieldResult

Schema.sObjectType is a DescribesObjectResult, which is why you need to use fields to get to the fields. If you want to get the field token, use <sobjectType>.<fieldName>. The two ...
sfdcfox's user avatar
  • 495k

Top 50 recent answers are included