Timeline for DD4T: How to Sort Component list from FindComponents by Field
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 5, 2014 at 16:55 | comment | added | Balajhi SV | any other way if the keyword is not in meta data... | |
Aug 5, 2014 at 16:04 | vote | accept | Balajhi SV | ||
Aug 5, 2014 at 14:47 | comment | added | Raj Kumar | if its part of metadata, normal metadata query should work just provide the "xmlname" of that metafield in the query | |
Aug 5, 2014 at 12:52 | comment | added | Balajhi SV | keywords are not part of Metadata; if this can be resolved by moving to meta i can move it. please provide more details on the code for keyword filter in metadata.. | |
Aug 5, 2014 at 11:16 | comment | added | Raj Kumar | is this keyword part of metadata? | |
Aug 5, 2014 at 10:39 | comment | added | Balajhi SV | am able get the sort by the Metadata field but i want this to combine with Keyword filter and Mate data sort. below code is giving error. var queryParameters = new ExtendedQueryParameters(); string[] schemas = { SchemaUri }; queryParameters.QuerySchemas = schemas; queryParameters.PublicationId = ID; queryParameters.KeywordValues = keys; queryParameters.QuerySortField = "date"; queryParameters.SortType =ExtendedQueryParameters.MetaSortFieldType.DATETIME; FindComponents(queryParameters) | |
Aug 4, 2014 at 18:53 | history | answered | Raj Kumar | CC BY-SA 3.0 |