<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic I need to create a date range query on cutom field of a smart folder, which syntax ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/i-need-to-create-a-date-range-query-on-cutom-field-of-a-smart/m-p/103455#M29444</link>
    <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm trying to query cutom field on a smart folder (alfresco 5.2). the field is called mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriod of type text with a regex format YYYYMM (values can be 201912 or 202003...etc)&lt;/P&gt;&lt;P&gt;The aim is to show documents of last two months of the field mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriod, last try without success :&lt;/P&gt;&lt;P&gt;"query" : "=mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriode:[NOW/YEAR-2MONTHS + NOW/MONTH-2MONTHS TO NOW/YEAR + NOW/MONTH]"&lt;/P&gt;&lt;P&gt;this static query works :&lt;/P&gt;&lt;P&gt;"query" : "=mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriode:[202001 TO 202003]"&lt;/P&gt;&lt;SPAN class="lia-message-unread"&gt;Which is the correct syntax to make it dynamic inside the smart folder with current date (NOW)&lt;BR /&gt;&lt;/SPAN&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 24 Mar 2020 17:12:17 GMT</pubDate>
    <dc:creator>tyuton</dc:creator>
    <dc:date>2020-03-24T17:12:17Z</dc:date>
    <item>
      <title>I need to create a date range query on cutom field of a smart folder, which syntax ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-need-to-create-a-date-range-query-on-cutom-field-of-a-smart/m-p/103455#M29444</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm trying to query cutom field on a smart folder (alfresco 5.2). the field is called mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriod of type text with a regex format YYYYMM (values can be 201912 or 202003...etc)&lt;/P&gt;&lt;P&gt;The aim is to show documents of last two months of the field mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriod, last try without success :&lt;/P&gt;&lt;P&gt;"query" : "=mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriode:[NOW/YEAR-2MONTHS + NOW/MONTH-2MONTHS TO NOW/YEAR + NOW/MONTH]"&lt;/P&gt;&lt;P&gt;this static query works :&lt;/P&gt;&lt;P&gt;"query" : "=mymodel&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;eriode:[202001 TO 202003]"&lt;/P&gt;&lt;SPAN class="lia-message-unread"&gt;Which is the correct syntax to make it dynamic inside the smart folder with current date (NOW)&lt;BR /&gt;&lt;/SPAN&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:12:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-need-to-create-a-date-range-query-on-cutom-field-of-a-smart/m-p/103455#M29444</guid>
      <dc:creator>tyuton</dc:creator>
      <dc:date>2020-03-24T17:12:17Z</dc:date>
    </item>
  </channel>
</rss>

