if i set category and within that category i have multiple child and sibling so how i can fetch them in apex
1 个回答
Hi, @Abhishek Surve
To fetch data categories, including child and sibling categories, in Apex, you can use the describeDataCategoryGroups and describeDataCategoryGroupStructures methods
Useful links:
- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dynamic_data_categories.htm
- https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_Schema_DataCategory.htm
- https://help.salesforce.com/s/articleView?id=000382462&type=1
Sincerely,
Mykhailo Vdovychenko
Bringing Cloud Excellence with IBVCLOUD OÜ