<?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: Custom card in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-card/m-p/2586190#M4598</link>
    <description>&lt;P&gt;Your link is dead.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 17:37:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-17T17:37:15Z</dc:date>
    <item>
      <title>Custom card</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-card/m-p/420694#M1042</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want create a custom card to show one specific value when the data to show is (Blank).&lt;/P&gt;&lt;P&gt;My idea is create an input of text in format section, to replace in visual when the data&amp;nbsp;is null.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With i have at this moment appear the name of option in format but no the textfield and i dont know what i must write to it work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am a bit new in this creation of custom visuals,so please apologize me if you see basic errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At this moment i have this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;capabilities:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "dataRoles": [
        {
            "displayName": "Field",
            "name": "field",
            "kind": "Measure"
        }
    ],
    "objects": {
        "blankText": {
            "displayName": "Blank Text",
            "properties": {
                "description": {
                            "type": {"text": true},
                            "description": "New value to change (Blank) value "
                        },
.....
"dataViewMappings": [
        {
            "conditions": [
                {
                    "field": {
                        "max": 1
                    }
                }
            ],
            "single": {
                "role": "field"
            }
        }
    ]
}&lt;/PRE&gt;&lt;P&gt;visual:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;public&lt;/SPAN&gt; &lt;SPAN&gt;enumerateObjectInstances&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;options&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;EnumerateVisualObjectInstancesOptions&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;VisualObjectInstanceEnumeration&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;let&lt;/SPAN&gt; &lt;SPAN&gt;objectName&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;options&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;objectName&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;let&lt;/SPAN&gt; &lt;SPAN&gt;objectEnumeration&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;VisualObjectInstance&lt;/SPAN&gt;&lt;SPAN&gt;[] &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; [];&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;switch&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;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t;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 10:28:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-card/m-p/420694#M1042</guid>
      <dc:creator>marcelot</dc:creator>
      <dc:date>2018-05-18T10:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Custom card</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-card/m-p/422321#M1047</link>
      <description>&lt;P&gt;We'd recommend to read &lt;A href="https://github.com/Microsoft/PowerBI-visuals/blob/master/Tutorial/StaticObjects.md" target="_blank"&gt;this article&lt;/A&gt; to find out more about adding new options into Format Panel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&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, 22 May 2018 06:08:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-card/m-p/422321#M1047</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-05-22T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom card</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-card/m-p/2586190#M4598</link>
      <description>&lt;P&gt;Your link is dead.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 17:37:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-card/m-p/2586190#M4598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-17T17:37:15Z</dc:date>
    </item>
  </channel>
</rss>

