All Questions
10 questions
13
votes
1
answer
568
views
Broker Query with sort criteria over optional field
I'm obtaining a list of 5 components from the broker using a simple Query:
Query myQuery = new Query();
Criteria myCriteria = null;
PublicationCriteria pubRelCriteria = new PublicationCriteria(...
9
votes
2
answers
251
views
Is there anyway to let Query Support pagination?
We want to search a list of published News component based on Content Delivery API. The components number is huge. So we want to use pagination. Do you know whether the Content Delivery's search API ...
8
votes
1
answer
178
views
Multiple NotInCriteria producing incorrect results
Might be doing something stupid but basically I am not getting the results I would expect when using multiple NotInCriteria in a query. I only ever seem to have the one of the criteria excluded.
The ...
7
votes
1
answer
331
views
SchemaTitleCriteria yield no results in SDL Tridion Broker Query
I have a simple SDL Tridion 2011 SP1 Broker Query to retrieve a list of Component URIs. All of my Components are embedded on Pages, and not using Dynamic Component Templates. The following code ...
5
votes
1
answer
217
views
Using multiple custom meta data keyword Criteria in a single query as LIKE operators
I need to accomplish the following, and I can't find any working method for it.
We have articles with a custom metadata field of comma-separated keyword values, the code I've built split's by comma ...
4
votes
0
answers
89
views
Broker: find a Page using a specific Component and Component Template
I have a use case where I need to find the Page URL from a Page using a certain Component Presentation (given componentId and templateId).
I am trying to find the Page using Criteria but I can't find ...
3
votes
0
answers
58
views
TaxonomyKeywordKeyCriteria ignores publication Id
I'm using TaxonomyKeywordKeyCriteria to find Components that have a related Keyword. I only have the Keyword key and not the TCM URI.
My code:
Criteria criteria = new TaxonomyKeywordKeyCriteria(...
3
votes
0
answers
339
views
How can i retrieve components using broker query with sort parameter over optional metafield
I have a requirement to sort on optional custom date for components. I have 25 components matching criteria and 1 component with published date (metadata field) empty, but its returns only 24 ...
1
vote
1
answer
77
views
Issues while querying Number type metadata fileds through JSP content broker query API
I have a legacy implementation where we have some components got number type metadata filed. Downstream applications uses JSP content broker query API and queries for components with number filters.
...
1
vote
1
answer
114
views
How to read linked Components TCM URI's from custom meta of a Component
I have linked Components in my Component's custom metadata, I want to read tcm uri of them on Content Delivery (WebForms Applciation not DD4T).
Here is how Custom_Meta Table in Broker looks like ...