You need to sign in to do that
Don't have an account?
sandeep 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
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