<?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 create property string in power bi custom? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/74712#M2513</link>
    <description>&lt;P&gt;I was just about to write a question for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also can't solve this, I have followed the example here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/27/power-bi-custom-visuals-programming/" target="_blank"&gt;https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/27/power-bi-custom-visuals-programming/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which at least explains it a bit unlike the current MS documentaiton!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll let you know if I get it working.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Oct 2016 09:13:19 GMT</pubDate>
    <dc:creator>adamdavi3s</dc:creator>
    <dc:date>2016-10-04T09:13:19Z</dc:date>
    <item>
      <title>How create property string in power bi custom?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/35651#M1091</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a new custom visual with power bi and I'm creating new properties, but I don't know how to create string properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For color I'm using type: { fill: { solid: { color: true } } } and for bool I'm using type: { bool: true } .&lt;/P&gt;&lt;P&gt;Any help will be good for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2016 17:56:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/35651#M1091</guid>
      <dc:creator>moises_martinez</dc:creator>
      <dc:date>2016-05-15T17:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: How create property string in power bi custom?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/35680#M1096</link>
      <description>&lt;P&gt;String properties are defined as follows:&lt;/P&gt;&lt;P&gt;type: { text: true }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDITED:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;By the way, you can see how the property type descriptors are defined in the VisualContracts.d.ts file in the custom-visuals github project. More specifically, the ValueTypeDescriptor interface defines the primitive propery types and the StructuralTypeDescriptor interface defines structural types(such as the fill type). You can then look for examples in the project by searching it for values corresponding to the definition. For example, you can see that the definition of the text property type expects a boolean value. Therefore, if you search the project for "text: true", and there happens to be a visual using it, the search will take you there(For property types that expects objects, such as the fill property, you can search for pattens such as "fill: {").&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 07:04:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/35680#M1096</guid>
      <dc:creator>itayrom</dc:creator>
      <dc:date>2016-05-16T07:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: How create property string in power bi custom?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/71654#M2382</link>
      <description>&lt;P&gt;So that doesn't help at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I put:&lt;/P&gt;&lt;PRE&gt;"objects": {
        "selectedListType": {
            "displayName": "List Type",
            "properties": {
                "text": {
                    "displayName": "Textx",
                    "type": { "text": true}
                }
            }
        }
    }&lt;/PRE&gt;&lt;P&gt;I get nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Telling me to go and search somewhere is also of little help if I have no idea of the location you are talking about.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is seemingly simple stuff but Microsoft you are making it so hard to understand the basics. You might follow the approach of Mr D3 (Mike Bostock) and offer a plethora of worked examples instead of a few comments which have no context.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting a propert to retrun a string value seems SO simple. But where is the simple example that shows how? The solution? Don't have a text input field. Crazy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2016 23:17:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/71654#M2382</guid>
      <dc:creator>andrewnz</dc:creator>
      <dc:date>2016-09-24T23:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: How create property string in power bi custom?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/72388#M2408</link>
      <description>&lt;P&gt;Iam not really sure the question is answered already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here my Example Code:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"start": {
                            "displayName": "Start",
                            "description": "Start Position",
                            "placeHolderText": "data.createDisplayNameGetter('Visual_Precision_Auto')",
                            "type": { "text": true },
                            "suppressFormatPainterCopy": true
                    },&lt;/PRE&gt;&lt;P&gt;That working fine. Do you implement the function behind that object?&lt;/P&gt;&lt;P&gt;You need to implement the getValueFunction:&lt;/P&gt;&lt;PRE&gt;start: getValue&amp;lt;string&amp;gt;(objects, 'categoryAxis', 'start', defaultSettings.categoryAxis.start),
          &lt;/PRE&gt;&lt;P&gt;And in theenumerateObjectInstances. After that you should see the object in the formatoptions.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 09:58:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/72388#M2408</guid>
      <dc:creator>Mcburn</dc:creator>
      <dc:date>2016-09-27T09:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: How create property string in power bi custom?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/74712#M2513</link>
      <description>&lt;P&gt;I was just about to write a question for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also can't solve this, I have followed the example here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/27/power-bi-custom-visuals-programming/" target="_blank"&gt;https://blogs.msdn.microsoft.com/tsmatsuz/2016/09/27/power-bi-custom-visuals-programming/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which at least explains it a bit unlike the current MS documentaiton!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll let you know if I get it working.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 09:13:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/74712#M2513</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-10-04T09:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: How create property string in power bi custom?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/78625#M2759</link>
      <description>&lt;P&gt;I raised an issue on Github for this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/PowerBI-visuals-sampleBarChart/issues/3#issuecomment-253744763" target="_blank"&gt;https://github.com/Microsoft/PowerBI-visuals-sampleBarChart/issues/3#issuecomment-253744763&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Microsoft did reply:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;This is a known issue on the debug visual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are aware of it"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Seems we weren't all totally mad after all &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 21:11:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-create-property-string-in-power-bi-custom/m-p/78625#M2759</guid>
      <dc:creator>andrewnz</dc:creator>
      <dc:date>2016-10-14T21:11:16Z</dc:date>
    </item>
  </channel>
</rss>

