How can i see my plugin name in the Power BI Visual plugin List

0 votes

How Can i see my plugin in "PowerBIVisualsPlayground" plugins list?

So when i create an iVisual it created some default code where on the plugin list it says uncomment it to see your plugin in "powerbivisualsplayground" plugins

So, i followed it and uncomment the code ---

i have created a IVisual i the PowerBI visual ---
/* creating ivisualplugin that is used to represent ivisual. */

 //uncomment it to see your plugin in "powerbivisualsplayground" plugins list
 //remember to finally move it to plugins.ts

module powerbi.visuals.plugins {
    export var newvisual: ivisualplugin = {
        name: 'newvisual',
        capabilities: newvisual.capabilities,
        create: () => new newvisual()
    };
}

i have uncommented the default code to see my Visual name list o the PowerBI Plugin list but still, I cannot see my plugin name in the PowerBIVisualsPlayground" plugins list.

I have also tried to move my code to plugins.ts but still no result !!

export var newvisual: ivisualplugin = {
    name: 'newvisual',
    watermarkKey: 'newvisual',
    capabilities: newvisual.capabilities,
    create: () => new newvisual()
};

Thanks.

Nov 8, 2018 in Power BI by Shubham
• 13,490 points
1,444 views

1 answer to this question.

0 votes

there is a couple of errors in your code.

in the first line ivisualplugin, it Should be IVisualPlugin

Change your class and capabilities name from newvisual to Newvisual

So the answer is :

export var newvisual: IVisualPlugin = {
    name: 'newvisual',
    capabilities: Newvisual.capabilities,
    create: () => new Newvisual()
};

Hope it helps!

answered Nov 8, 2018 by Upasana
• 8,620 points

Related Questions In Power BI

0 votes
1 answer
0 votes
0 answers
0 votes
0 answers

How can I automate data refreshes in Power BI, and what are the scripting options available?

How can I automate data refreshes in ...READ MORE

Oct 21 in Power BI by Evanjalin
• 7,890 points
152 views
+1 vote
0 answers

How can I automate data refreshes in Power BI, and what are the scripting options available?

How can I automate data refreshes in ...READ MORE

Oct 22 in Power BI by Evanjalin
• 7,890 points
81 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,350 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,130 points
2,748 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,519 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Yes using Power BI REST API to ...READ MORE

answered Sep 18, 2018 in Power BI by Kalgi
• 52,350 points
1,667 views
0 votes
1 answer

To create link visual in Power BI

You can disable sandboxing by adding this ...READ MORE

answered Nov 22, 2018 in Power BI by Upasana
• 8,620 points
943 views
0 votes
1 answer

To Calculate the Standard Deviation in Power BI

Suppose you've to obtain the Standard Deviation ...READ MORE

answered Nov 26, 2018 in Power BI by Upasana
• 8,620 points
15,669 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP