Hi,I've created custom model (<namespace uri="custom.model" prefix="custom"/>)with such an aspect:<aspects>
<aspect name="custom:article">
<title>Someco Webable</title>
<properties>
<property name="custom:ReleaseDate">
<title>Released Date</title>
<type>d:date</type>
</property>
<property name="custom:Internal">
<type>d:boolean</type>
<default>true</default>
</property>
</properties>
</aspect>
</aspects>
I am trying to create webscript returning all articles within certain path in the repository with certain value of boolean parameter custom:Internal. How can I achieve this? I am trying something like
var query = "PATH:\"/app:company_home/cm:Articles//*\" AND TYPE:\"{custom.model}pressrelease\"" +
" AND @custom\:Internal:\"true\"";
but it's not working 