I’m using inside() in a query to extract a list of notes in my home rolled CRM system, and I’ve found a weird behavior for the function that frustrated me for a few days.
Initially, my file (descended from the TBX Starter file template) was broken down in two main notes:
- Content
- Annuaire
*John Doe
*Jane Eyre - Test
- Annuaire
- Boiler Room
(all the backroom stuff, prototypes etc …)
In Test, I created an agent who’s query was inside(Annuaire). So far, so good. I get aliases to my two names in the Annuaire note. But if I try to use absolute paths it gets really weird:
query: inside(’/Content/Annuaire’) yields nothing
renaming Content to CRM and using inside(’/CRM/Annuaire’) yields the expected two names.
Is Content a reserved keyword? Since this behavior appears even in a MWE that’s NOT descended from the TBX Starter file, I can see only this explanation …