插入“来自 SharePoint”的链接/图片在功能区中变灰
在功能区中,我想在内容页面中插入图片或链接,但“来自 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不要弄乱丝带来完成这项工作!
完全取决于您想如何使用它。
首先,发布功能必须在网站集级别以及要添加丰富内容的网站上处于活动状态。
然后,如果您激活 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
除非您有“站点设置”下的“SharePoint Server 发布功能”-> “网站功能”已激活,这些选项不可供您使用。
Unless you have the "SharePoint Server Publishing feature" under "Site Settings" -> "Site Features" activated, these options are not made available to you.
如果您没有在 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