如何在部署后将新的 WebPart 添加到特定组中

发布于 2024-08-13 17:33:47 字数 154 浏览 4 评论 0原文

我经常编写自定义 WebPart,但在部署它们之后,它们总是被添加到“杂项”类别中。如何将 WebPart 添加到特定类别?

我在这里指的类别是我们在“添加 Web 部件...”弹出窗口中看到的类别,当在区域上单击“添加 Web 部件”时会激活该弹出窗口。

谢谢

I am constantly writing custom WebParts but after I deploy them, they always get added to the "Miscellaneous" category. How do I add a WebPart to a specific category?

The category that I am referring to here is the one we see in the "Add Web Parts..." pop up, which is activated when the "Add a Web Part" is clicked on a zone.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

江南月 2024-08-20 17:33:47

您需要更新 Web 部件清单文件并添加以下内容:

<property Name="Group" Value="Custom" />

按照说明进行操作 此处了解详细信息。

You need to update your web part manifest file and add the following:

<property Name="Group" Value="Custom" />

Follow the instructions here for details.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文