Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Customer Portal - Knowledge Base bug

일반 토론 Customer Portal - Knowledge Base bug

  • 2012년 2월 7일 화요일 오후 10:13
     
      코드 있음

    Bug report for version 1.0.0013 in EditCase.aspx: if a knowledge base article is attached to a case/incident in CRM, the EditCase.aspx page throws an error: Object reference not set to an instance of an object, line 93. Also, Case.KBArticleId does not resolve to a string, and the default path on the sample website is /knowledge-base/ not /kb/ ...

    This is what I used instead (starting at line 78):

    XrmContext.Attach(Case);
    if (Case.subject_incidents != null)
    {
        SubjectLabel.Text = "| Subject: " + Case.subject_incidents.Title;
    }
    if (Case.KbArticleId != null)
    {
        KB.Text = "<p>Please see the following KB article: <a target=\"_blank\" href=\"/knowledge-base/article?id=" +
            Case.kbarticle_incidents.Id + "\">" +
            Case.kbarticle_incidents.Title + "</a></p>";
    }
    XrmContext.Detach(Case);
    • 편집됨 greensweater 2012년 2월 7일 화요일 오후 10:16 formatting
    • 유형 변경됨 greensweater 2012년 2월 9일 목요일 오후 5:07 not a question
    •