cancel
Showing results for 
Search instead for 
Did you mean: 

How can I order an node alphabetical?

Former Member
0 Kudos

Hi experts,

how can I order a node (0...1) with only one attribute like name (String) order aplhabetical?

Node 0...n

| - Name String

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use the following code for sorting an attribute of a context node,

wdContext.nodeDetail().setSortCriterion(new CMISortByColumn("<AttributeName>"));

Also, you can follow this link

[Sort Context Node|http://wiki.sdn.sap.com/wiki/display/Snippets/SortingContextNode]

Regards,

Tushar Sinha

Answers (0)