<?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: How to set Different Style on each actionButton using JSON theme? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2209693#M33167</link>
    <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Thank you for the help, Can you please help with the last point,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;How to Set an Image on Image Visual using Power BI JS SDK?.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Nov 2021 15:13:52 GMT</pubDate>
    <dc:creator>sohaibahsan007</dc:creator>
    <dc:date>2021-11-26T15:13:52Z</dc:date>
    <item>
      <title>How to set Different Style on each actionButton using JSON theme?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2204147#M33087</link>
      <description>&lt;P&gt;I have a problem, where I'm trying to create a Dashboard using power bi js SDK, Power BI only allow to format some properties, but not all of them, Issues, I'm facing is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;not able to set an image on &lt;STRONG&gt;image&lt;/STRONG&gt; visual&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;not able to set an image on action button Fill Property, I'm able to set using JSON theme, but it gets applies on all of the action buttons, but I want them separately,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;is there any way, so I can set the style in the JSON theme using a visual name that is provided to create of new visual?.&lt;/LI&gt;&lt;LI&gt;would be helpful if I can know, how to set an image on image visual via power API, or how to set an image on action button using powerBI API.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 23 Nov 2021 17:38:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2204147#M33087</guid>
      <dc:creator>sohaibahsan007</dc:creator>
      <dc:date>2021-11-23T17:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Different Style on each actionButton using JSON theme?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2208698#M33159</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/340861"&gt;@sohaibahsan007&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, current power bi does not support the setting of different styles on the action button based on JSON theme settings. You can configure with JSON theme but it does not allow setting a list of style collections.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 05:40:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2208698#M33159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-26T05:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Different Style on each actionButton using JSON theme?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2209693#M33167</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;Thank you for the help, Can you please help with the last point,&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;How to Set an Image on Image Visual using Power BI JS SDK?.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 15:13:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2209693#M33167</guid>
      <dc:creator>sohaibahsan007</dc:creator>
      <dc:date>2021-11-26T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Different Style on each actionButton using JSON theme?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2217446#M33262</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/340861"&gt;@sohaibahsan007&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Here is the code snap of the 'action button' JSON theme configuration that I found at the below link, you can check if helps:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "name": "Theme Example of Action Buttons",
    "actionButton": {
        "*": {
            "border": [{
                "show": false
            }],
            "visualHeader": [{
                "show": false
            }],
            "background": [{
                "show": false
            }],
            "title": [{
                "show": false
            }],
            "outline": [{
                    "show": true
                },
                {
                    "$id": "default",
                    "weight": 0
                },
                {
                    "$id": "hover",
                    "weight": 0
                },
                {
                    "$id": "selected",
                    "weight": 0
                }
            ],
            "fill": [{
                    "show": true
                },
                {
                    "$id": "default",
                    "transparency": 0,
                    "fillColor": {
                        "solid": {
                            "color": "#25476E"
                        }
                    }
                },
                {
                    "$id": "hover",
                    "transparency": 0,
                    "fillColor": {
                        "solid": {
                            "color": "#386AA5"
                        }
                    }
                },
                {
                    "$id": "selected",
                    "transparency": 0,
                    "fillColor": {
                        "solid": {
                            "color": "#4A8DDC"
                        }
                    }
                }
            ],
            "icon": [{
                    "show": true
                },
                {
                    "$id": "default",
                    "lineColor": {
                        "solid": {
                            "color": "#FFFFFF"
                        }
                    }
                },
                {
                    "$id": "hover",
                    "lineColor": {
                        "solid": {
                            "color": "#FFFFFF"
                        }
                    }
                },
                {
                    "$id": "selected",
                    "lineColor": {
                        "solid": {
                            "color": "#FFFFFF"
                        }
                    }
                }

            ]
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://community.powerbi.com/t5/Developer/actionButton-Power-BI-JSON-Theme/td-p/640749/page/2" target="_blank" rel="noopener"&gt;Solved: actionButton Power BI JSON Theme - Page 2 - Microsoft Power BI Community&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, power bi theme does not work with custom visuals. If you mean setting the image in the 'action button', please check and modify the background properties as below sample.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"background": [{
        "image": {
            "name": "xxxx",
            "scaling": "Fit",
            "url": "Put your Base64 code here"
        },
        "transparency": 50
    }]
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 06:32:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/2217446#M33262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-02T06:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Different Style on each actionButton using JSON theme?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/3187066#M42189</link>
      <description>&lt;P&gt;Hello! Thanks for your help, is there a way to add a custom font in this code?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 18:48:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-set-Different-Style-on-each-actionButton-using-JSON-theme/m-p/3187066#M42189</guid>
      <dc:creator>dianalucia_mtz</dc:creator>
      <dc:date>2023-04-13T18:48:51Z</dc:date>
    </item>
  </channel>
</rss>

