2013-10-18 55 views
0

我已经为我的发布网站创建了页面布局。在此页面布局中,我想添加评论和评分选项。将SocialCommentControl添加到页面

该评级选择显示在页面上就好了,但commentcontrol似乎并不在那里...

一些研究,我把commentcontrol在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> 

BTW,我在HTML文件中使用SharePoint工作2013年

日Thnx

回答

0

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