03-24-2020 01:12 PM
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]"
Regards
Explore our Alfresco products with the links below. Use labels to filter content by product module.