You need to sign in to do that
Don't have an account?
Ayub Ansari
INVALID_TYPE Error while fetching RecordTypeInfos as sub-query on EntityDefinition object in Tooling API
Hi Salesforcian,
As per the definition of object EntityDefinition (https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_entitydefinition.htm#recordtypessupported) (a tooling API object), we can query "recordTypeSupported" as sub-query:
By using workbench, I am trying to query same data as following but I am getting exception - "Didn't understand relationship 'RecordTypesSupported' in FROM part of query".
Thanks in advance!!
-Ayub.
As per the definition of object EntityDefinition (https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_entitydefinition.htm#recordtypessupported) (a tooling API object), we can query "recordTypeSupported" as sub-query:
By using workbench, I am trying to query same data as following but I am getting exception - "Didn't understand relationship 'RecordTypesSupported' in FROM part of query".
/services/data/v34.0/tooling/query/?q=select+id,+(select+recordTypeInfos+from+RecordTypesSupported)+from+EntityDefinition+where+KeyPrefix='001'Does anybody have a clue why this is happening?
Thanks in advance!!
-Ayub.
Ayub Ansari
Please note that I am using API version 35.0