<?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: New Slicer Type Formatting for JSON in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/3067051#M6818</link>
    <description>&lt;P&gt;It seems the below code "works," but there's a bug that requires you to click "Reset to Default" in the slicer pane for the JSON theme setting to kick in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"slicer":{
	"*":{
		"options": [{
			"style": "Dropdown"
		}],&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just waiting for the bug fix I guess..&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 20:12:03 GMT</pubDate>
    <dc:creator>spham1215</dc:creator>
    <dc:date>2023-02-07T20:12:03Z</dc:date>
    <item>
      <title>New Slicer Type Formatting for JSON</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/2990679#M6442</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that JSON theme file values are [mostly?] only able to modify settings that appear in the formatting pane for visuals. With the new December update, the Slicer Option &amp;gt; Style has been relocated to this formatting pane.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone figured out how to set the Slicer Style to "Dropdown" in a custom JSON theme file yet?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 20:00:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/2990679#M6442</guid>
      <dc:creator>spham1215</dc:creator>
      <dc:date>2022-12-27T20:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: New Slicer Type Formatting for JSON</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/2991132#M6449</link>
      <description>&lt;P&gt;I &lt;STRONG&gt;guess&lt;/STRONG&gt; currently no such property has been launced to configure this requirement, lately.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 06:08:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/2991132#M6449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-28T06:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: New Slicer Type Formatting for JSON</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/3066990#M6815</link>
      <description>&lt;P&gt;Hey there, were you able to figure out the JSON code to set "dropdown" for the slicer? Having the same issue.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 19:35:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/3066990#M6815</guid>
      <dc:creator>andy808</dc:creator>
      <dc:date>2023-02-07T19:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: New Slicer Type Formatting for JSON</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/3067051#M6818</link>
      <description>&lt;P&gt;It seems the below code "works," but there's a bug that requires you to click "Reset to Default" in the slicer pane for the JSON theme setting to kick in:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"slicer":{
	"*":{
		"options": [{
			"style": "Dropdown"
		}],&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just waiting for the bug fix I guess..&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 20:12:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/3067051#M6818</guid>
      <dc:creator>spham1215</dc:creator>
      <dc:date>2023-02-07T20:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: New Slicer Type Formatting for JSON</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/3067162#M6824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/489404"&gt;@spham1215&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The info I've received is that the property is &lt;FONT face="courier new,courier"&gt;data &amp;gt; mode&lt;/FONT&gt;, but it still looks like this has the same bug you've observed and that the property has to be reset to default to apply correctly &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The following syntax may be useful for later if/when it's fixed and is supposed to be the correct selector to use when setting up a theme:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "name": "My Theme",
    "visualStyles": {
        "slicer": {
            "*": {
                "data": [
                    {
                        "mode": "Between"
                    }
                ]
            }
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Valid values for mode are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;"VerticalList"&lt;/LI&gt;
&lt;LI&gt;"HorizontalList"&lt;/LI&gt;
&lt;LI&gt;"Between"&lt;/LI&gt;
&lt;LI&gt;"Before"&lt;/LI&gt;
&lt;LI&gt;"After"&lt;/LI&gt;
&lt;LI&gt;"Basic"&lt;/LI&gt;
&lt;LI&gt;"Dropdown" (so, this is what you should need for your case)&lt;/LI&gt;
&lt;LI&gt;"Relative"&lt;/LI&gt;
&lt;LI&gt;"Single"&lt;/LI&gt;
&lt;LI&gt;"RelativeTime"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hear that if the type you specify is not compatible with the field type, it will typically force it to one that does.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 20:57:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/New-Slicer-Type-Formatting-for-JSON/m-p/3067162#M6824</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2023-02-07T20:57:18Z</dc:date>
    </item>
  </channel>
</rss>

