+ Start a Discussion
SARTHAK GARG 4SARTHAK GARG 4 

getting this error:-No such relation 'RecordType' on entity 'Knowledge__kav'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

Shravan Kumar 71Shravan Kumar 71
If you are trying to get the record type ID then use RecordTypeID and if you need record type name then use RecordType.Name
SARTHAK GARG 4SARTHAK GARG 4

Using that only
,in query editor its working fine.

Can i send you a consolidated email about the issue i am facing right now
 

SARTHAK GARG 4SARTHAK GARG 4
The main issue i am getting is posted on success.salesforce.com----- https://success.salesforce.com/answers?id=9063A000000pxi1QAA
Lokesh KumarLokesh Kumar
Hi Sarthak, Try using RecordTypeId instead of Recordtype.Name.