Skip to main content
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: ...
Mukesh Kumar's user avatar
  • 4,074
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'...
Jonathan Williams's user avatar
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 ...
David Forster's user avatar
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 ...
maurocam's user avatar
  • 233
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 ...
Rick Pannekoek's user avatar
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. ...
Rick Pannekoek's user avatar
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.
Anand N S's user avatar
  • 1,936
1 vote

Problem executing entity query - Sites 10 and DXA 2.3

The issue you are encountering with the ExecuteEntityQuery method returning empty results and logging a 504 Gateway Time-out error suggests a problem related to connectivity or configuration in your ...
Velmurugan's user avatar
  • 8,205
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.
Nicholas Wetmore's user avatar
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 ...
Chris Mills's user avatar
  • 2,221
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 ...
Atila Sos's user avatar
  • 6,290
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 ...
Rick Pannekoek's user avatar
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 != ...
Neelesh Raghuvanshi's user avatar
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 ...
Rick Pannekoek's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible