Adobe EDS - Does helix-query.yaml in project repository still works?
Adobe EDS - Does helix-query.yaml in project repository still works?
Hello!
My project has been created using Aem Boilerplate XWalk.
If I understood correctly. If 'helix-query.yaml' is present on repository then no spreadsheet sitemap configuration would be necessary on AEM.
The following helix-query.yaml was wrote:
version: 1
indices:
portuguese: &default
include: /home
target: /query-index.json
properties:
title:
selectFirst: head > meta[property="og:title"]
value: attribute(el, "content")
lastModified:
select: none
value: parseTimestamp(headers["last-modified"], "ddd, DD MMM YYYY hh:mm:ss GMT")
robots:
select: head > meta[name="robots"]
value: attribute(el, "content")
validation:
select: none
value: true
When debugging locally with 'aem up --print-index', it seems to be working.
info: Index information for /home
info: Index: portuguese
info: title: "Home"
info: lastModified: ""
info: robots: ""
info: validation: true
But there is no change when accessing "https://{branch}-{repo}-{organization}.aem.page/sitemap.xml" or "https://{branch}-{repo}-{organization}.aem.page/query-index.json".
"https://{branch}-{repo}-{organization}.aem.page/helix-query.yaml" returns 404.
Maybe I didn't understand the concept correctly, should I just use AEM Admin API?
Thank you for your patience,
Gabriel