2012-07-04 19 views
2

我正在研究Sitecore的社交連接模塊,並試圖將社交更新與營銷目標聯繫起來。 Sitecore的documentation狀態:Sitecore社交連接目標更新錯誤

營銷中心,在發佈選項卡,單擊更新。出現更新選項卡。

當我點擊更新,我得到一個警告窗口,指出:「您沒有權限查看的任何項目報告」無論是作爲開發人員還是以管理員身份登錄,我都會收到此警報,因此它似乎不是安全相關的。

我正在使用Social Connected Module 1.1.0 rev運行Sitecore.NET 6.5.0(rev。120427)。 120329.

更新:

  • 更新按鈕被映射到命令 「社會:標籤:顯示」 在覈心數據庫項目/Sitecore的/內容/應用/內容編輯/色帶/結塊/社交/更新
  • 「social:tab:show」已鏈接到「Sitecore.Social.Publishing.Commands.SocialCenter」Sitecore.Social.config
  • 這裏是一個的發送警報代碼:
public override void Execute(CommandContext context) 
{ 
     Assert.ArgumentNotNull((object) context, "context"); 
     if (context.Items.Length != 1) 
     return; 
     if (WebUtil.GetFormValue("scEditorTabs").Contains("social:tab:show")) 
     { 
     SheerResponse.Eval("scContent.onEditorTabClick(null, null, 'OpenSocialCenter')"); 
     } 
     else 
     { 
     Item obj = Context.Item; 
     if (obj == null) 
     { 
      SheerResponse.Alert("You do not have permission to see any item reports.", new string[0]); 
     } 
     else 
     [code continues] 
  • 我子類Sitecore.Social.Publishing.Commands.SocialCenter這樣我就可以設置一個斷點。以下是我在執行過程中看到的值:
    • Sitecore.Context.Item爲空。
    • context.Items有一個項目,即在營銷中心中打開的目標項目。
    • WebUtil.GetFormValue("scEditorTabs")返回一個空字符串。該代碼似乎期望「社交:標籤:顯示」。
  • 使用Sitecore 6.5 build 3不能解決問題。
  • 更新按鈕確實正常工作正常的內容項目(而不是目標)。但是,文檔明確指出,此按鈕將在Marketing Center選項卡上單擊。

回答

0

如果從Sitecore菜單打開Marketing Center,則會顯示錯誤消息。相反,打開內容編輯器應用程序,並導航到/sitecore/system/Marketing Center。如果內容樹中沒有看到/sitecore/system,請轉到「查看」菜單並選擇「整個樹」。當通過內容編輯器訪問目標時,「發佈/更新」按鈕可正常工作。

注意:我已確認此問題與Sitecore 6.5.0(修訂版111230)更新3(最新的社交連接更新批准版)發生,每release notes

更新:此bug已被修正與社會連接的V1.2。