back to top

Changing the SalesLogix Sales Dashboard- Default number of rows returned

The SalesLogix Sales Dashboard by default typically returns the top 5 value metrics for the various standard screens.  I have received a couple questions if this can be changed to default more or less rows.  The answer is yes!  I plan to post a series of detailed posts explaining how the dashboard works.  For the purpose of changing the default number of rows that display you just need to know most of the code that defines how the interface is presented exists in one of two included scripts.


The first script “Content Set Support” handles building the GUI for all of the standard dashboard screens except for the Key Performance Indicators tab.  For that tab, the “KPI Support” script is used.  For the KPI screen there is no default number of rows displayed, it simply shows all of the KPIs that are defined.


For all of the other screens the “Content Set Support” script handles the behavior of the screens and their associated drill-down screens.  If you open the script in Architect you can look for the Private sub-routine for the Content Set class called “Class_initialize” that starts around line 294 in the base script.  If you look at the variable declarations at the start of this sub-routine you will see one on line 306 called mMaxRows.  You will see it is looks like this:



mMaxRows = 5


Changing the integer value that this variable is being set to can determine the default number of rows that appear when any of the dashboard screens open.



mMaxRows = 7 ‘this would show 7 rows instead of the default 5


Now this is just the default value that is used.  Each screen itself may also have there own defined number of rows that are set.  The details of this is not stored within the Form plugin but rather in the XML files used by each screen.  For instance, if you look at the Open Opportunities screen in the Sales Dashboard you will see it shows the top 5 entries for the data selected, regardless of what was placed in the “Content Set Support” script.  That is because within the “Content Set Support” script there is a private sub-routine called InitialXML that will read the screen’s associated XML file and use an attribute in the XML file called “SMaxRows” or “LMaxRows”. 



If mMode = cMODE_DASHBOARD Then
    mMaxRows = objContentSetsNodes.Item(0).selectSingleNode(“//ContentSet/SMaxRows”).Text ‘DNL
    mUseFilters = False
Else
    mMaxRows = objContentSetsNodes.Item(0).selectSingleNode(“//ContentSet/LMaxRows”).Text ‘DNL
    mUseFilters = True
End If


The “SMaxRows” attribute is used for the primary dashboard screen contents.  The “LMaxRows” is the attribute used in the drill-down screen off the main screen.  You could for instance set the first screen to default to 7 and the drill down to default to return 10 rows. 


If we look at the XML for the Open Opportunities screen (This is a Text plugin type) we can see towards the top of the XML there is a ContentSet attribute called SMaxRows and LMaxRows.



<?xml version=”1.0″ ?>
<!–
    Configuration file for Content Sets.
    Copyright 2006, Sage Software


–>
<Dashboard version=”1″>
        <ContentSets>
                <ContentSet Type=”SUMMARY”>
                        <Name>Open Opportunities</Name>
                        <BaseTable>Opportunity</BaseTable>
                        <SMaxRows>5</SMaxRows>
                        <LMaxRows>5</LMaxRows>
                        <CalculateOtherRow>T</CalculateOtherRow>
                        <Drill>
                        …


Changing the values of these attributes will change the default number of rows for any screens that utilizes this particular XML file for its data source.

Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Kris Halsrud
Kris Halsrud
Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

1 COMMENT

  1. Thanks Mike, I found the same thing. I changed the value in the Select statement and it worked.

    Also, for those that are novices like myself, the select statement is around line 1843

    strSelect = “SELECT DISTINCT TOP ” & mMaxRows & ” ”

    Change mMaxRows to a static number.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Infor CRM SLX 10.0: Delegate Ownership Changes for “Everyone” Records

Learn how the new EveryoneOwnerAssignment secured action in Infor CRM SLX 10.0 allows designated users to change ownership of Everyone-owned records without requiring Administrator access.

Related Articles

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Related Videos