<?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>Question Re: Facet Filter Selection setSelectedKeys in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/facet-filter-selection-setselectedkeys/qaa-p/714312#M196469</link>
    <description>&lt;P&gt;in this example, &lt;A href="https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.FacetFilterSimple/code/FacetFilter.controller.js" target="test_blank"&gt;https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.FacetFilterSimple/code/FacetFilter.controller.js&lt;/A&gt; you can see the _filterModel function and see how the logic, gets the list items, iterates them with the map function and returns a new filter (eventually an array of filters if more than 1 is selected) and then it applies it to the list, so in your select all selection, then the logic has to iterate through the entire items of the list. &lt;/P&gt;&lt;P&gt;for more information about the control itself, you can find it here: &lt;A href="https://sapui5.hana.ondemand.com/#/api/sap.m.FacetFilter/overview" target="test_blank"&gt;https://sapui5.hana.ondemand.com/#/api/sap.m.FacetFilter/overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;hope that is what you needed.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Nov 2018 13:28:23 GMT</pubDate>
    <dc:creator>SergioG_TX</dc:creator>
    <dc:date>2018-11-12T13:28:23Z</dc:date>
    <item>
      <title>Facet Filter Selection setSelectedKeys</title>
      <link>https://community.sap.com/t5/technology-q-a/facet-filter-selection-setselectedkeys/qaq-p/714311</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;
  &lt;P&gt;i can use setSelectedKeys to apply the selections to the list.&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://help.sap.com/doc/saphelp_uiaddon10/1.17/en-US/ef/860fc989764439957c6446ecebd7ec/content.htm?no_cache=true" target="test_blank"&gt;https://help.sap.com/doc/saphelp_uiaddon10/1.17/en-US/ef/860fc989764439957c6446ecebd7ec/content.htm?no_cache=true&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;The first item is &lt;STRONG&gt;All&lt;/STRONG&gt;, which is the right key to select &lt;STRONG&gt;All&lt;/STRONG&gt;?&lt;/P&gt;
  &lt;P&gt;All the best&lt;/P&gt;
  &lt;P&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 13:00:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/facet-filter-selection-setselectedkeys/qaq-p/714311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-11-12T13:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Facet Filter Selection setSelectedKeys</title>
      <link>https://community.sap.com/t5/technology-q-a/facet-filter-selection-setselectedkeys/qaa-p/714312#M196469</link>
      <description>&lt;P&gt;in this example, &lt;A href="https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.FacetFilterSimple/code/FacetFilter.controller.js" target="test_blank"&gt;https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.FacetFilterSimple/code/FacetFilter.controller.js&lt;/A&gt; you can see the _filterModel function and see how the logic, gets the list items, iterates them with the map function and returns a new filter (eventually an array of filters if more than 1 is selected) and then it applies it to the list, so in your select all selection, then the logic has to iterate through the entire items of the list. &lt;/P&gt;&lt;P&gt;for more information about the control itself, you can find it here: &lt;A href="https://sapui5.hana.ondemand.com/#/api/sap.m.FacetFilter/overview" target="test_blank"&gt;https://sapui5.hana.ondemand.com/#/api/sap.m.FacetFilter/overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;hope that is what you needed.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 13:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/facet-filter-selection-setselectedkeys/qaa-p/714312#M196469</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2018-11-12T13:28:23Z</dc:date>
    </item>
  </channel>
</rss>

