<?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: Color selection from property pane in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Color-selection-from-property-pane/m-p/343473#M10182</link>
    <description>&lt;PRE&gt;this.host.colorPalette.getColor&lt;/PRE&gt;&lt;P&gt;Generates a new color by identity. Please use&amp;nbsp;options.dataViews[0].metadata.objects["myCustomObj"]["take_color"] instead (please laso note the value is an object. Please consider a proper handling).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 10:30:42 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2018-01-23T10:30:42Z</dc:date>
    <item>
      <title>Color selection from property pane</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Color-selection-from-property-pane/m-p/343382#M10173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with retrieving color from property pane in my custom visual. In my property pane, I have boolean and color, I can retrieve boolean by&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;boolean&amp;gt;options.dataViews[0].metadata.objects["myCustomObj"]["myprop"];&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but when I try to retrieve color, using&lt;/P&gt;&lt;PRE&gt;this.host.colorPalette.getColor(&amp;lt;string&amp;gt;options.dataViews[0].metadata.objects["myCustomObj"]["take_color"]).value&lt;/PRE&gt;&lt;P&gt;I have different color. What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 08:49:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Color-selection-from-property-pane/m-p/343382#M10173</guid>
      <dc:creator>ysapiyev</dc:creator>
      <dc:date>2018-01-23T08:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Color selection from property pane</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Color-selection-from-property-pane/m-p/343473#M10182</link>
      <description>&lt;PRE&gt;this.host.colorPalette.getColor&lt;/PRE&gt;&lt;P&gt;Generates a new color by identity. Please use&amp;nbsp;options.dataViews[0].metadata.objects["myCustomObj"]["take_color"] instead (please laso note the value is an object. Please consider a proper handling).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 10:30:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Color-selection-from-property-pane/m-p/343473#M10182</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-01-23T10:30:42Z</dc:date>
    </item>
  </channel>
</rss>

