cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting a Table filled with Active Directory Users

HuseyinBilgen
Active Contributor
0 Kudos

Hi,

Assume that you've a Value Node on View and you're filling it with Active Directory Users.

How to sort data automatically, before presenting it to users.

Please do not confuse with User Sorting. THis must be a system sorting and must take place before display.

Why I said this is to prevent confustion with TabelSorter Class used for end user sorting ability.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

I am not sure If I got your question correctly but what I understnad from you question is that you have a node suppose node1 with user as an attribute. you want to sort this node element by user. If this is the case you can easily do it by using following code.

wdContext.nodeNode1.setSortCriterion(new CMISortByColumn("user"));

Regards,

Rajeev

HuseyinBilgen
Active Contributor
0 Kudos

Hi Rajeev,

is com.sap.tc.cmi.sorting package exists in a Netweaver 7.0 System? if not, how to include or what will be your purposal for NW 7.0?

best regards

HuseyinBilgen
Active Contributor
0 Kudos

sorry,

I got it from com.sap.tc.cmi eclipse plugin i got from nw ce ide, but system cannot identify setSortCriterion. So this method is only possible with NWCE?

Edited by: HUSEYIN BILGEN on May 21, 2008 12:16 AM

Former Member
0 Kudos

Hi,

Right click on your project and select

Development Component->Show In->Component Properties

Go to the Dependencies tab and check for the existance of tc/cmi.

If its not their add this as part of Dc dependencies

Click on Add->FRAMEWORK->tc/cmi

Regards

Ayyapparaj