When you create new solution classes in ATG Service Administration, users can then create solutions of that class in ATG Knowledge. This section describes how to ensure that these solution classes display correctly in ATG Self Service

Important: It is vital that you deploy the solution class itself from ATG Service Administration using the Deploy All Admin Settings button on the Deployment page.

Without customization, ATG Self Service solutions are displayed by a default rendering template provided as part of the ATG Self Service web application. This template displays all data on the solution class in a linear fashion, though you can customize it to control the display of data for classes that do not possess a specialized rendering template.

In most cases, you will want to create a new template to display solutions of the newly created class. In order to do this, create a new .jsp file that correctly renders these solutions. You can either add this file to the /solution/ directory of the ATG Self Service web application, or an external web application that is running on the same server can host the file. Once the new template is available, modify the file solution.jsp with a new option to ensure that the new template is used for solutions of the newly created solution class. For example, if you created a new solution class called SampleClass, which is intended to use a template called solutionSampleClass.jsp, then the file solution.jsp should be modified as follows (Note that this example assumes that you added solutionSampleClass.jsp to the /solution/ directory):

<c:choose>
  <c:when test="${solutionBean.solutionClass.id=='SampleClass'}">
    <%@ include file="solution/solutionSampleClass.jspf" %>
  </c:when>
  <c:when test="${solutionBean.solutionClass.id=='SvcSolutionClassFAQ'}">
    <%@ include file="solution/solutionTemplateFAQ.jspf" %>
  </c:when>
  <c:when test="${solutionBean.solutionClass.id==
    'SvcSolutionClassQuestionAnswer'}">
    <%@ include file="solution/solutionTemplateQA.jspf" %>
  </c:when>
  <c:when test="${solutionBean.solutionClass.id==
    'SvcSolutionClassBreakFix'}">
    <%@ include file="solution/solutionTemplateBreakFix.jspf" %>
  </c:when>
  <c:otherwise>
    <%@ include file="solution/solutionTemplateDefault.jspf" %>
  </c:otherwise>
</c:choose>
 
loading table of contents...