取消注释即可在“ powerbivisualsplayground”中看到您的插件。外挂程式 [英] uncomment it to see your plugin in "powerbivisualsplayground" plugins

查看:108
本文介绍了取消注释即可在“ powerbivisualsplayground”中看到您的插件。外挂程式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在 PowerBIVisualsPlayground插件列表中看到我的插件!

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

因此,当我创建iVisual时,它会创建一些默认代码,该代码在插件列表中显示为取消注释它可以在 powerbivisualsplayground插件中看到您的插件

So when i create a 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()
    };
}

我没有注释默认代码以查看我的可视名称列表或PowerBI插件列表,但仍然无法在PowerBIVisualsPlayground插件列表中看到我的插件名称。

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

我也尝试将代码移至plugins.ts,但仍然没有结果!

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()
};

有人知道我做错了吗!

所以我的问题还是

**How can i see my plugin name in the PowerBI Visual plugin List !**

任何种类的建议或帮助都是非常可观的!谢谢

Any kind of advice or help will be really appreciable ! Thanks

推荐答案

有代码中有两个错误。

在第一行 ivisualplugin IVisualPlugin

newvisual 到 Newvisual

所以答案是:

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

希望它会对您有所帮助。

Hope it will help you.

这篇关于取消注释即可在“ powerbivisualsplayground”中看到您的插件。外挂程式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆