Skip to main content
Updated progress.
Source Link
Michael West
  • 18.6k
  • 2
  • 42
  • 105

Testing with SXA 1.2 on Sitecore 8.2 u1/u2.

I'm trying to query a list of pages marked as featured.

Here is what I have setup:

  • Custom Page template inherits from Page.
  • Checkbox field is added with IsFeatured field.

Custom Page Item

  • Query defined to return featured pages.
+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true

Query

  • The query item does not have a way to build the query, so I used the datasource

Query Builder Filter Configured

Unfortunately, when I test the page no results are returned.

Not working Not rendered

Update

Test with a new query that has a + for each setting but does not change the behavior.

Still not working

Update 2

Oddly, when I move the query to the Data Source field and clear the Source Type I get an error. Not seen this before.

Data Source set

error

Testing with SXA 1.2 on Sitecore 8.2 u1/u2.

I'm trying to query a list of pages marked as featured.

Here is what I have setup:

  • Custom Page template inherits from Page.
  • Checkbox field is added with IsFeatured field.

Custom Page Item

  • Query defined to return featured pages.
+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true

Query

  • The query item does not have a way to build the query, so I used the datasource

Query Builder Filter Configured

Unfortunately, when I test the page no results are returned.

Not working Not rendered

Update

Test with a new query that has a + for each setting but does not change the behavior.

Still not working

Testing with SXA 1.2 on Sitecore 8.2 u1/u2.

I'm trying to query a list of pages marked as featured.

Here is what I have setup:

  • Custom Page template inherits from Page.
  • Checkbox field is added with IsFeatured field.

Custom Page Item

  • Query defined to return featured pages.
+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true

Query

  • The query item does not have a way to build the query, so I used the datasource

Query Builder Filter Configured

Unfortunately, when I test the page no results are returned.

Not working Not rendered

Update

Test with a new query that has a + for each setting but does not change the behavior.

Still not working

Update 2

Oddly, when I move the query to the Data Source field and clear the Source Type I get an error. Not seen this before.

Data Source set

error

Added update.
Source Link
Michael West
  • 18.6k
  • 2
  • 42
  • 105

Testing with SXA 1.2 on Sitecore 8.2 u1/u2.

I'm trying to query a list of pages marked as featured.

Here is what I have setup:

  • Custom Page template inherits from Page.
  • Checkbox field is added with IsFeatured field.

Custom Page Item

  • Query defined to return featured pages.
+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true

Query

  • The query item does not have a way to build the query, so I used the datasource

Query Builder Filter Configured

Unfortunately, when I test the page no results are returned.

Not working Not rendered

Update

Test with a new query that has a + for each setting but does not change the behavior.

Still not working

Testing with SXA 1.2 on Sitecore 8.2 u1/u2.

I'm trying to query a list of pages marked as featured.

Here is what I have setup:

  • Custom Page template inherits from Page.
  • Checkbox field is added with IsFeatured field.

Custom Page Item

  • Query defined to return featured pages.
+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true

Query

  • The query item does not have a way to build the query, so I used the datasource

Query Builder Filter Configured

Unfortunately, when I test the page no results are returned.

Not working Not rendered

Testing with SXA 1.2 on Sitecore 8.2 u1/u2.

I'm trying to query a list of pages marked as featured.

Here is what I have setup:

  • Custom Page template inherits from Page.
  • Checkbox field is added with IsFeatured field.

Custom Page Item

  • Query defined to return featured pages.
+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true

Query

  • The query item does not have a way to build the query, so I used the datasource

Query Builder Filter Configured

Unfortunately, when I test the page no results are returned.

Not working Not rendered

Update

Test with a new query that has a + for each setting but does not change the behavior.

Still not working

Source Link
Michael West
  • 18.6k
  • 2
  • 42
  • 105

How do you properly configure SXA Page List with custom query?

Testing with SXA 1.2 on Sitecore 8.2 u1/u2.

I'm trying to query a list of pages marked as featured.

Here is what I have setup:

  • Custom Page template inherits from Page.
  • Checkbox field is added with IsFeatured field.

Custom Page Item

  • Query defined to return featured pages.
+location:{29E0ED6F-452B-45A0-B799-C51EBD14970A};template:{13de59b4-ad71-4542-9ce0-a0483422e768};custom:isfeatured|true

Query

  • The query item does not have a way to build the query, so I used the datasource

Query Builder Filter Configured

Unfortunately, when I test the page no results are returned.

Not working Not rendered