locked
Increase number of knowledge articles in the portal RRS feed

  • Question

  • Hello,

    In SCSM 2010 is there a way to add more than 10 Knowledge Articles per page in the Portal?

    Thanks for your time,


    Monday, May 27, 2013 3:14 PM

Answers

  • Ok !

    Find the page KnowledgeArticlePart.cs

    and change the value  :

     private const int DefaultMaxKnowledgeArticles = 10;

    And ViewAllKnowledgeArticles.cs

    this.gridViewKnowledgeArticles.PageSize = 10;


    Best Regards Rémy BOVI

    Tuesday, May 28, 2013 3:30 PM

All replies

  • Hi,

    On the SCSM 2010 website, Try to found the file : web.enduser.config

    You can modify this values : <add key="MaximumKnowledgeArticles" value="100"/>

    <appSettings>
        <!--SM Database connection timeout in seconds-->
        <add key="SM_ConnectionTimeout" value="60"/>
        <add key="Default404ErrorPage" value="~/Default404.aspx" />
        <add key="CreateRequestPage" value="~/CreateRequest.aspx"/>
        <!--Display the closed requests for X number of days in the View all requests webpart-->
        <add key="DisplayClosedRequestsForDays" value="30"/>    
        <add key="HomePage" value="~/Home.aspx"/>
        <!--Maxmimum number of KA to show in the View all KA webpart-->
        <add key="MaximumKnowledgeArticles" value="100"/>
        <!--Number of Top announcements to show in the Announcements webpart-->
        <add key="NumberOfTopAnnouncements" value="4"/>
        <add key="KnowledgeArticleDetailsPage" value="~/KnowledgeArticleDetails.aspx"/>
        <add key="RequestDetailsPage" value="~/RequestDetails.aspx"/>
        <add key="RequestSoftwarePage" value="~/RequestSoftware.aspx"/>
        <add key="ViewAllRequestsPage" value="~/AllRequests.aspx"/>
        <add key="ViewAllKnowledgeArticlesPage" value="~/KnowledgeSearchResults.aspx"/>
        <add key="ViewAllAnnouncementsPage" value="~/AllAnnouncements.aspx"/>
    
      </appSettings>


    Best Regards Rémy BOVI

    • Proposed as answer by BOVI Rémy Tuesday, May 28, 2013 2:12 PM
    Tuesday, May 28, 2013 2:12 PM
  • Hi Remy,

    Thanks for your response but my web.config file in the enduser folder is already set to this. 

    Also, I could be wrong here but this setting looks to set the total # of KA's allowed under the "View All KA" Page. I'm looking to change a setting so that more than 10 KA's are shown on the home page of the portal and also more than 10 under the "View All KA's" Is this possible?

    Thanks again,

    Tuesday, May 28, 2013 3:22 PM
  • Ok !

    Find the page KnowledgeArticlePart.cs

    and change the value  :

     private const int DefaultMaxKnowledgeArticles = 10;

    And ViewAllKnowledgeArticles.cs

    this.gridViewKnowledgeArticles.PageSize = 10;


    Best Regards Rémy BOVI

    Tuesday, May 28, 2013 3:30 PM
  • Where are these pages located?
    Tuesday, May 2, 2017 5:45 PM