【问题标题】:Adding SocialCommentControl to a page将 SocialCommentControl 添加到页面
【发布时间】:2013-10-27 02:35:59
【问题描述】:

我为我的发布站点创建了一个页面布局。在此页面布局上,我想添加评论和评分选项。

评分选项在页面上显示得很好,但评论控件似乎不存在...

经过一些研究,我将评论控件放在 webpartzone 中,但这并没有影响结果。

有谁知道我做错了什么?

这是我添加评论部分的代码:

<div data-name="WebPartZone">
            <!--CS: Start Web Part Zone Snippet-->
            <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
                <!--MS:<WebPartPages:WebPartZone runat="server" ID="x0e5f5212505f48a9aac43df13eeae4f9" AllowCustomization="True" AllowPersonalization="False" FrameType="TitleBarOnly" LockLayout="True" Orientation="Vertical">-->
                    <!--MS:<ZoneTemplate>-->
                        <!--SPM:<%@ Register TagPrefix="SharePointPortalControls" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>-->
                        <p>Comment:</p><!--MS:<SharePointPortalControls:SocialCommentControl ID="CommentControl" runat="server"/>-->                        
                    <!--ME:</ZoneTemplate>-->
                <!--ME:</WebPartPages:WebPartZone>-->

            <!--CE: End Web Part Zone Snippet-->
        </div>

顺便说一句,我正在使用 sharepoint 2013 处理 html 文件。

thnx

【问题讨论】:

    标签: sharepoint web-parts sharepoint-2013


    【解决方案1】:

    您是否在管理中心检查过您的用户配置文件服务应用程序?我什至无法通过 Central Admin 进入它;在日志中我得到“此用户配置文件应用程序的连接当前不可用”所以我删除了服务应用程序,重新创建,iisreset 和 presto!我所有的评论控件都神奇地出现了。

    【讨论】:

      猜你喜欢
      • 2014-03-02
      • 1970-01-01
      • 1970-01-01
      • 2012-06-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多