Welcome close

We've made some changes!

As you may have noticed, we've made some changes to the DevCenter to include the new Exchange site, a code community for Ektron developers. You may use the same username and password to login for both the Exchange and DevCenter. Your DevCenter profile has moved over to the Exchange site. You also may notice we have removed some profile functionality in favor of new functionality, including Activity Streams. We welcome your feedback about the site on the Exchange forum.

SEARCH : searchSite
This SectionSite Wide
esync 

RSS Feed Print Category View
Sort Order
Lauren
Posted: Tuesday, January 19, 2010 11:58 AM
Joined: 1/19/2010
Posts: 18


Is it possible to sort a listsummary control by something other than the default values? I would like to sort the list by a value that I have in a smart form configuration.


Ektron-MattO
Posted: Tuesday, January 19, 2010 12:18 PM
Joined: 11/14/2006
Posts: 1192


Hey Lauren,

 

Here are two posts that could be helpful:

 

http://dev.ektron.com/forum.aspx?g=posts&t=5680&terms=sort+smart+form

 

http://dev.ektron.com/forum.aspx?g=posts&t=27612&boardid=74&terms=sort+smart+form

 

Thanks,

~Matt


Lauren
Posted: Tuesday, January 19, 2010 12:53 PM
Joined: 1/19/2010
Posts: 18


Thanks ... turns out it was even easier than that. I am new to xsl, but apparently I can just add

<xsl:sort select="Html/root/Year" order="descending"/>, where Year is the field name in the smart form.



 

Jump to different Forum... 






Register for Synergy 2010

Articles
Design without Borders, yet with Structure
CMS400.NET and Adobe Flex
GeoMapping
EkML Ektron Markup Language
Taxonomy

[First] [Previous] [Next] [Last]


See All Articles