back to top

Adding the Server and Database name in the footer of the SalesLogix Web Client

Chances are, if you’re a SalesLogix Business Partner or a SalesLogix developer or administrator, you tend to work with more than one SalesLogix client. Either different customer systems or different systems for testing, development, production, etc. I often have several different systems for several different customers. Something I miss about the SalesLogix Web client is the missing ServerDatabase in the footer like in the SalesLogix LAN client. That was nice to have for people like us. We’d get distracted with something else and could determine which system we were in with a quick glance to the footer. Let’s add it back.

This is a fairly easy task, but will require modifying some master pages in the Support Files of the portal. First of all, let’s look at the code to retrieve the current SalesLogix server name and database (connection on the SLX Server).

// Get a reference to the DataService 
Sage.Platform.Data.IDataService datasvc = Sage.Platform.Application.ApplicationContext.Current.Services.Get<Sage.Platform.Data.IDataService>() as Sage.Platform.Data.IDataService;

// Now read the server and database values from the DataService
string currentconnection = string.Format("{0}\{1} - ", datasvc.Server, datasvc.Database);

Easy enough. Now, where to put it? First let’s add a label to show this value. We are going to put it in the base.Master page, located in Support FilesMastersbase.Master.

Look through the file for the footer section. It will contain a div with the following ID: south_panel_content – search for that and you’ll find the footer section. It looks like this:

<div id="south_panel_content" class="x-hide-display">
<span id="copyright"><asp:Localize ID="copyrightMessage" EnableViewState="false" runat="server" Text="<%$ Resources: SalesLogix, Copyright %>"/></span>
<span id="autoLogoff" class="floatright"> </span>
<span id="lclCurrentDate"><smartParts:CurrentDate ID="CurrentDate" runat="server" DateFormat="dd MMMM yyyy" /></span>
<span id="statusMessage" class="floatright"></span>
</div>

We are going to add a line to the bottom of that div section for our label so it looks like this:

<div id="south_panel_content" class="x-hide-display">
<span id="copyright"><asp:Localize ID="copyrightMessage" EnableViewState="false" runat="server" Text="<%$ Resources: SalesLogix, Copyright %>"/></span>
<span id="autoLogoff" class="floatright"> </span>
<span id="lclCurrentDate"><smartParts:CurrentDate ID="CurrentDate" runat="server" DateFormat="dd MMMM yyyy" /></span>
<span id="statusMessage" class="floatright"></span>
<!-- Label to display current SLX server & database -->
<asp:Label runat="server" id="labelDatabase" CssClass="floatright" />
</div>

Now, let’s find the Page_Load to add our code. Locate the line:

protected void Page_Load(object sender, EventArgs e)

We will add out code to the end of the Page_Load with one minor modification. We will change the code to update our label control. The code will look like this (placed at the end of the Page_Load):

// Get a reference to the DataService 
Sage.Platform.Data.IDataService datasvc = Sage.Platform.Application.ApplicationContext.Current.Services.Get<Sage.Platform.Data.IDataService>() as Sage.Platform.Data.IDataService;

// Now read the server and database values from the DataService and place in the label
labelDatabase.Text = string.Format("{0}\{1} - ", datasvc.Server, datasvc.Database);

The final result will look like this:

Much better. Keep in mind that to have this show on the dashboard page you’ll also have to make the change to dashboard.Master as well.

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
Ryan Farley
Ryan Farleyhttps://customerfx.com/article/author/ryanfarley/
Ryan Farley is the Director of Development for Customer FX and creator of slxdeveloper.com. He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. His new passion for CRM is Creatio, formerly bpm'online. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

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