function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sandeep reddy 37sandeep reddy 37 

scheema programming

what is schema.DataCategory and how to use schema.DataCategorygroups
and how to pass the objects and get the with child data catagery 
but I am passing list of object  i got a error  can any give me sugguation please
apex======>
List <String> objType = new List<String>();
objType.add('account');
objType.add('contact');
List<Schema.DescribeDataCategoryGroupResult> describeCategoryResult = 
   Schema.describeDataCategoryGroups(objType);
error====>
Line: 13, Column: 1
System.InvalidParameterValueException: Invalid sobject provided. The Schema.describeDataCategoryGroups() methods does not support the account sobject as a parameter. The sobject provided can not be associated with data category groups