I'm trying to fetch all article types and run SOQL on them but getting an error:
The article type you are searching for has not been deployed
Is there a way through SOQL or Apex through which I can get article type status? Right now there are few articles in environment whose article type status is 'In Development'
SOQL being fired
FIND 'direct case to verify api fix' RETURNING Solution (Id,SolutionName,LastModifiedDate,SolutionNote,CreatedById ORDER BY LastModifiedDate DESC), Case(Id,Subject,Description,LastModifiedDate,CreatedById ORDER BY LastModifiedDate DESC), LiSFIntg_stage__non_community__kav (Id,Title, Summary, LastPublishedDate, KnowledgeArticleId,CreatedById, UrlName, LastModifiedDate WHERE PublishStatus = 'Online' AND language = 'en_US' ORDER BY LastPublishedDate DESC), LiSFIntg_stage__Community_Article__kav (Id,Title, Summary, LastPublishedDate, KnowledgeArticleId,CreatedById, UrlName, LastModifiedDate WHERE PublishStatus = 'Online' AND language = 'en_US' ORDER BY LastPublishedDate DESC), LiSFIntg_stage__some_label__kav (Id,Title, Summary, LastPublishedDate, KnowledgeArticleId,CreatedById, UrlName, LastModifiedDate WHERE PublishStatus = 'Online' AND language = 'en_US' ORDER BY LastPublishedDate DESC) LIMIT 100