Hello everyone,
I'm trying to query cutom field on a smart folder (alfresco 5.2). the field is called mymodel
eriod of type text with a regex format YYYYMM (values can be 201912 or 202003...etc)
The aim is to show documents of last two months of the field mymodel
eriod, last try without success :
"query" : "=mymodel
eriode:[NOW/YEAR-2MONTHS + NOW/MONTH-2MONTHS TO NOW/YEAR + NOW/MONTH]"
this static query works :
"query" : "=mymodel
eriode:[202001 TO 202003]"
Which is the correct syntax to make it dynamic inside the smart folder with current date (NOW)
Regards