6
votes
Using multiple custom meta data keyword Criteria in a single query as LIKE operators
@Kris, I am assuming you have custom meta value as a comma separated string. You can use SQL like pattern %% to match the value. So your custom meta value criteria should be like:
...
5
votes
How to find pages using query criteria by last publish date?
Just a little enhancement to the accepted answer given by Hiren above....
Presumably, you're not looking for the exact date and time (including the exact second!) that an item was published, so you'...
4
votes
Accepted
Pushing custom Page metadata during publishing
Something like this was done before through the use of a Metadata Processor extension in CWA and the Tridion Delivery Framework, where the additional data was made available as part of the item and ...
4
votes
Accepted
Query news component at WEB 8
I don't see that the ComponentPresentationFactory has any methods which accept an array of component IDs that would return you multiple ComponentPresentations. There are two methods which accept a ...
2
votes
Tridion Query Criteria AND + OR
So, I went back to my good old SQL Server, started Query Profiler on the Tridion DB and found my answer.
When using multiple search terms, the SQL IN operator is used, and the Tridion Criteria.Like ...
2
votes
Issues while querying Number type metadata fileds through JSP content broker query API
In general, the datatype Float has limited precision; it has a huge range, but it is not possible to represent every integer value within that range.
So, in general, exact matches on float values are ...
2
votes
Accepted
Given a TCM ID, how do I get that Component?
See DefaultContentProvider.PopulateDynamicList for an example of how to build DXA Entity Models out of a list of Component TCM URIs.
Indeed, the first part of the solution is to get Component Meta. ...
2
votes
How Could I search in Solr query inside a schema field a Date Type of CMS?
please refer to the Link
for the solution to query based on the field.
1
vote
NumberFormatException in Content Service
SDL Provided a hotfix to us to resolve this issue. The hotfix was:
CD_8.5.0.17761
and we confirmed that it resolved our issue.
1
vote
NumberFormatException in Content Service
I have seen this type of problem before. In our case the problem was due to schema changes.
When a schema metadata field data type has been changed you must
update all components using the schema
...
1
vote
Retrieve page or pages that contain certain component on the component presentation list
What have you tried so far? I'm asking because this question is a "do my homework instead of me" type, so there is little chance that someone will write your code instead of you. Best we can do is ...
1
vote
Retrieve page or pages that contain certain component on the component presentation list
I’m a bit confused by your comment “this is going to be on a TBB and run at the runtime. This code won’t run at the rendering time.”
In general, TBB code runs at rendering time. And the reason why ...
1
vote
Accepted
How to read linked Components TCM URI's from custom meta of a Component
It works , i got the solution :)
ComponentPresentation cp = cpf.GetComponentPresentation(uri, templateUri);
// check if component presentation is published to the broker
if (cp != ...
1
vote
In DXA site query a list of Components using the Content Query Schema
The predefined Content Query schema, associated ContentList View Model, ListController and DefaultContentProvider.PopulateDynamicList are currently functionally quite limited.
However, they do ...
1
vote
Accepted
Broker Query with sort criteria over optional field
Not sure, if you have already found the answer.
A workaround would be not to include the optional field in the search criteria.
ComponentFactory cpf = new ComponentFactory();
Query query = new Query();...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
query × 27content-delivery × 11
broker × 10
2013-sp1 × 4
2013 × 3
sdl-tridion × 3
metadata × 3
brokerquery × 3
dxa × 2
2011 × 2
java × 2
web8.5 × 1
web8 × 1
core-service × 1
dd4t × 1
content-manager × 1
smarttarget × 1
2011-sp1 × 1
tom.net × 1
dxa-1.5 × 1
fredhopper × 1
search × 1
experience-optimization × 1
api × 1
dynamic-publishing × 1