Questions tagged [querybuilder]

For questions specifically related to Sitecore's Query Builder field type. This tag is not meant for questions about building Sitecore queries.

Filter by
Sorted by
Tagged with
1
vote
0answers
38 views

Queries for null or empty strings

I tried to apply exactly what is on the following link to query fields with null or empty strings https://doc.sitecore.com/developers/92/sitecore-experience-manager/en/queries-for-null-or-empty-...
2
votes
0answers
208 views

Build Scope Query to Get First level of Children

I am using Sitecore 9.1.1 and SXA 1.8.1 I have an item called Seat, this item is a parent to many other items on multiple levels of two templates, Topic Details and Topic Listing. In Seat (my parent ...
0
votes
1answer
98 views

set relative query to datasource

Each Article uses datasource underneath. I'm using query to find CTA button of current item but it returns nothing. query:.//Article Datasource/Article Top Content .
1
vote
1answer
101 views

Multilist pick subcategory based on the category selection

I have a Categories Item and Each category has Sub categories - Category 1 - Sub Category 1 - Sub Category 1 - Sub Category 1 - Category 2 - Sub Category 2 - Sub ...
0
votes
0answers
239 views

How to sort items by date inside a sitecore query?

I am trying to sort items inside a query under a variant. I used +template:{00000-0000-0000-0000-000000000};+sxa:TaggedWithAtLeastOneTagFromCurrentPage|SxaTags;+sxa:ExcludeCurrentPage;sort:...
1
vote
0answers
164 views

Get items which datetime custom field is greater than specified value using Search Query Builder

I am trying to create query using Search Query builder (used to create new Item Query in SXA site) that will return items where custom datetime field value is in defined range. I can see that there ...
0
votes
3answers
1k views

Using the Query Builder Field Type

I'm trying to set up an item to allow a content editor to easily select a group of items in a subtree. I can use a droptree that points to a root item and then a Multilist to select template types ...
4
votes
3answers
6k views

Filtering results when field is empty with query builder fields

How I can use sitecore query fields to filter and not bring results if a specific field is empty? I have tried something like this: location:{41c52cce-69cc-444d-b505-044addf0d9e1};-custom:title|'' ...