<?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 Re: Search by custom properties in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37946#M16019</link>
    <description>&lt;P&gt;I have the same "undefined" prefix before the property values.&lt;BR /&gt;I am using community version via SDK/dokcer.&lt;BR /&gt;I did not install Alfresco Search Services so I have no solrhome path.&lt;/P&gt;&lt;P&gt;Can I still have place to add the configuration parameters? Or should I look for other methods?&lt;/P&gt;&lt;P&gt;BTW,&lt;BR /&gt;Some properties in search responses have {en} as their prefixes but some properties have no {en} as their prefixes.&lt;BR /&gt;They are all of type "d:text". Is there a way to make them consistent?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 21:37:40 GMT</pubDate>
    <dc:creator>Upladder</dc:creator>
    <dc:date>2023-02-24T21:37:40Z</dc:date>
    <item>
      <title>Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37938#M16011</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;1) I want to implement searching by custom properties. I created a data model with custom properties and added new fields to the facetFields in app.config.json.&lt;BR /&gt;They are displayed in the application but every (string type) option is preceded with the "{en}" prefix. When a user clicks on an option, search returns 0 results. Does anyone know how to get rid of the prefix and fix this?&lt;/P&gt;&lt;P&gt;2) I would also like to use the data-range component for the dates in the future (currently it's impossible to select future dates). Is that possible?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="screen.png" style="width: 764px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/69i03354A7ADD3A972B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 08:18:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37938#M16011</guid>
      <dc:creator>dzider</dc:creator>
      <dc:date>2020-02-18T08:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37939#M16012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80073"&gt;@dzider&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;There's a thread &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/hello-i-need-to-create-a-date-range-query-on-the-definition-of-a/td-p/9013" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt; that refers to using future date searches , along the lines of:&lt;/P&gt;
&lt;PRE&gt;"query" : "=facp:empresa:'CSSL' and facp:fechafac:[NOW/YEAR TO NOW/YEAR+1YEAR]"&lt;/PRE&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 16:46:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37939#M16012</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-02-19T16:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37940#M16013</link>
      <description>&lt;P&gt;Hey &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I've been able to use the queries to filter by future dates...&lt;BR /&gt;e.g.:&lt;/P&gt;&lt;PRE&gt;    "facetQueries": {
      "label": "Some Date",
      "expanded": false,
      "queries": [
        {
          "label": "SEARCH.FACET_QUERIES.TODAY",
          "query": "uibkVMa:Date:[TODAY to TODAY]"
        },
        {
          "label": "This Week",
          "query": "uibkVMa:Date:[TODAY TO NOW/DAY+7DAYS]"
        },
        {
          "label": "This Year",
          "query": "uibkVMa:Date:[TODAY TO NOW/DAY+1YEAR]"
        }
      ]
    },&lt;/PRE&gt;&lt;P&gt;... but I wanted to use the Search date range component specifically (&lt;A href="https://www.alfresco.com/abn/adf/docs/content-services/components/search-date-range.component/" target="_blank" rel="noopener nofollow noreferrer"&gt;link&lt;/A&gt;), so the user can chose the time period freely. I don't think I can put any query specifying future dates here:&lt;/P&gt;&lt;PRE&gt;    "categories": [
      {
        "id": "createdDateRange",
        "name": "SEARCH.CATEGORIES.CREATED_DATE",
        "enabled": true,
        "component": {
          "selector": "date-range",
          "settings": {
            "field": "cm:created",
            "dateFormat": "DD-MMM-YY"
          }
        }
      },&lt;/PRE&gt;&lt;P&gt;More importantly, any idea about the {en} prefixes preceding custom properties (point 1)?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 12:11:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37940#M16013</guid>
      <dc:creator>dzider</dc:creator>
      <dc:date>2020-02-20T12:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37941#M16014</link>
      <description>&lt;P&gt;Hi, we have an open issue for the dates&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-ng2-components/issues/5122" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-ng2-components/issues/5122. &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;About the en prefix. Have you check is not something that comes from your response in the network ?&lt;/P&gt;
&lt;P&gt;Check for all the call with&amp;nbsp;/public/search/versions/1/search&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 15:14:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37941#M16014</guid>
      <dc:creator>eugenio_romano</dc:creator>
      <dc:date>2020-02-20T15:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37942#M16015</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80073"&gt;@dzider&lt;/A&gt;&amp;nbsp;,&lt;BR /&gt;the {en} prefix problem seems related to your Solr instance configuration.&lt;BR /&gt;Do you have the same problem using Alfresco Share search page?&lt;BR /&gt;&lt;BR /&gt;You need to add multilanguage support on your Solr configuration file, see point 5 of our documentation:&amp;nbsp;&lt;A href="https://docs.alfresco.com/search-enterprise/tasks/solr-install.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/search-enterprise/tasks/solr-install.html&lt;/A&gt;&amp;nbsp;(assuming you're using Alfresco Search Service).&lt;BR /&gt;This are the lines to add to the 'shared.properties' Solr configuration file:&lt;/P&gt;&lt;PRE&gt;alfresco.cross.locale.datatype.0={http://www.alfresco.org/model/dictionary/1.0}text
alfresco.cross.locale.datatype.1={http://www.alfresco.org/model/dictionary/1.0}content
alfresco.cross.locale.datatype.2={http://www.alfresco.org/model/dictionary/1.0}mltext &lt;/PRE&gt;&lt;P&gt;After the change you need to reindex your Solr.&lt;BR /&gt;&lt;BR /&gt;Let me know if this solves your issue.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 15:14:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37942#M16015</guid>
      <dc:creator>dmondardo</dc:creator>
      <dc:date>2020-02-20T15:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37943#M16016</link>
      <description>&lt;P&gt;Hi, we're having the same problem with&amp;nbsp;&lt;SPAN&gt;the {en} prefix&lt;/SPAN&gt; showing up on custom properties.&lt;/P&gt;&lt;P&gt;We added the lines on shared.properties file and reindexed Solr but we're still experiencing this problem. In Alfresco Share search page we get 'undefined' followed by the property value.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 15:14:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37943#M16016</guid>
      <dc:creator>panacasp</dc:creator>
      <dc:date>2020-02-26T15:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37944#M16017</link>
      <description>&lt;P&gt;We got it working now, actually we didn't reindex Solr correctly but after following the instructions it worked and the prefixes aren't showing anymore.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 08:59:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37944#M16017</guid>
      <dc:creator>panacasp</dc:creator>
      <dc:date>2020-02-27T08:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37945#M16018</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/78538"&gt;@panacasp&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for updating us on how you resolved your issue - very helpful to other users.&lt;/P&gt;
&lt;P&gt;I'll mark this as solved if I may?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 15:22:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37945#M16018</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-03-02T15:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search by custom properties</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37946#M16019</link>
      <description>&lt;P&gt;I have the same "undefined" prefix before the property values.&lt;BR /&gt;I am using community version via SDK/dokcer.&lt;BR /&gt;I did not install Alfresco Search Services so I have no solrhome path.&lt;/P&gt;&lt;P&gt;Can I still have place to add the configuration parameters? Or should I look for other methods?&lt;/P&gt;&lt;P&gt;BTW,&lt;BR /&gt;Some properties in search responses have {en} as their prefixes but some properties have no {en} as their prefixes.&lt;BR /&gt;They are all of type "d:text". Is there a way to make them consistent?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 21:37:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/search-by-custom-properties/m-p/37946#M16019</guid>
      <dc:creator>Upladder</dc:creator>
      <dc:date>2023-02-24T21:37:40Z</dc:date>
    </item>
  </channel>
</rss>

