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

Urgent help on data categoriess sort order...

 hi every1,


 I am working on data categories and got some problem in its sorting can any body help me for this..


i create like Articles---> tutorialscategory group(Article)---> Tutorials

- tut1
-- bucket1
--- bucket2
- tut2
-- bucket1
--- bucket2
I also create 2 custom object where m setting its order like
tutorial order and tutorial bucket order
In tutorial order m setting the sort order of tutorial and in tutorial bucket order m settin the sort order of the buckets ina tutorial.
now m getting prob in one of my query  which i used for sorting this.
query is: 
String bucketQuery = 'select Id, Name, Tutorial_Bucket_Unique_Name__c, Sort_Order__c from Tutorial_Bucket_Order__c where Name like \''+ tCategory.getName() +'\''; // and sort_order__c >='+ (currentBucket.sort_order__c - 1) + ' and sort_order__c <= '+currentBucket.sort_order__c + 1 ;       
bucketOrderMap = new Map<Integer, String>();
can any body help me for this...