2013-10-18 54 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!我的所有評論控件都神奇地出現了。