Timeline for Sitecore 8.2 How to sort items based on a specific parameter within a content item
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 5, 2017 at 17:21 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Feb 3, 2017 at 16:18 | answer | added | Vlad Shpak | timeline score: 3 | |
Feb 3, 2017 at 15:09 | comment | added | Vlad Shpak | Can you change sort order to "Created" for sub-items in content tree and repeat WEB Api request? Check it. It can be a work-around without custom Api. | |
Feb 3, 2017 at 14:48 | answer | added | Filip Verswijver | timeline score: 3 | |
Feb 2, 2017 at 16:38 | comment | added | grg | It's not possible to sort items OOTB with Sitecore Web API. To achieve it you would need to create a custom processor and patch itemWebApiRead pipeline. Alternatively you could look into using Sitecore's ItemService which provides REST API and supports sorting. | |
Feb 1, 2017 at 19:18 | comment | added | Tony | @Diego is there any reference, or maybe an article how to do this? | |
Feb 1, 2017 at 19:17 | comment | added | Tony | @MarkCassidy I just want to make a call to SiteCore and get items, and sort them based on a specific field name (e.g. date created, date modified etc.). | |
Feb 1, 2017 at 13:58 | history | edited | Mark Cassidy♦ |
edited tags
|
|
Feb 1, 2017 at 13:36 | comment | added | Diego | Have you tried sorting your list using linq after you got them using the Web API? | |
Feb 1, 2017 at 0:16 | comment | added | Mark Cassidy♦ | Please expand the question with code samples of where you are now, and what isn't giving you what you'd like. | |
Feb 1, 2017 at 0:00 | history | asked | Tony | CC BY-SA 3.0 |