插入“来自 SharePoint”的链接/图片在功能区中变灰

发布于 2024-09-19 20:23:58 字数 122 浏览 1 评论 0原文

在功能区中,我想在内容页面中插入图片或链接,但“来自 Sharepoint”按钮呈灰色,我只能上传图像或插入“来自地址”链接。我的字段是富文本。我正在使用 SharePoint 2010。

如何使该链接可用? 谢谢

In the ribbon, I want to insert a picture or a link into a content page, but the "From Sharepoint" button is grayed out and I can only upload an image or insert a link "From Address". My field is rich text. I'm using SharePoint 2010.

How can I make the link available?
Thanks

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

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

发布评论

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

评论(3

岛歌少女 2024-09-26 20:23:58

不要弄乱丝带来完成这项工作!

完全取决于您想如何使用它。

首先,发布功能必须在网站集级别以及要添加丰富内容的网站上处于活动状态。

然后,如果您激活 Wiki 主页功能,您将在页面上看到可用的 SharePoint 选项。
如果你想在自定义列表中使用它,它会变得有点复杂。

普通的富文本字段会使 SharePoint 选项变灰。并且您无法将包含发布字段的完整 HTML 直接添加到自定义列表。因此,解决方案是基于完整 HTML 字段创建一个新的网站栏。然后将该网站栏添加到自定义列表中。该字段是发布基础设施的一部分。因此仅在 SharePoint Server 2010 上可用

Do not muck with the ribbon to make this work!

Totally depends on how you want to use it.

First of all, the Publishing feature must be active on Site Collection level and on the site where you want to add your rich content.

Then, if you activate the Wiki Home page feature you will have the SharePoint option availabe on the page.
If you want to use it in a custom list, it gets a bit more complicated.

The normal Rich Text field greys out the SharePoint option. And you can not add the Full HTML with publishing field directly to a custom list. So the solution is to create a new site column based on the Full HTML field. And then add that site column to the custom list. This field is part of the publishing infrastructure. So only available on SharePoint Server 2010

等待圉鍢 2024-09-26 20:23:58

除非您有“站点设置”下的“SharePoint Server 发布功能”-> “网站功能”已激活,这些选项不可供您使用。

Unless you have the "SharePoint Server Publishing feature" under "Site Settings" -> "Site Features" activated, these options are not made available to you.

我一直都在从未离去 2024-09-26 20:23:58

如果您没有在 CustomAction XML 中为其添加 CommandUIHandler 元素,通常功能区按钮会显示为灰色。

有关更多详细信息,您可以查看这篇 MSDN 文章:

http://msdn.microsoft .com/en-us/library/ff458385.aspx

此外,您还可以找到有用的这篇文章(带有示例代码和屏幕截图):

http://blogs.msdn.com/b/jfrost/archive/ 2009/11/06/将自定义按钮添加到-sharepoint-2010-ribbon.aspx

Usually ribbon button is grayed out if you didn't add CommandUIHandler element for it in your CustomAction XML.

For more details, you can see this MSDN article:

http://msdn.microsoft.com/en-us/library/ff458385.aspx

Also, you can find useful this article (with sample code and screenshot):

http://blogs.msdn.com/b/jfrost/archive/2009/11/06/adding-custom-button-to-the-sharepoint-2010-ribbon.aspx

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