Hands On With the GP Power Tools – Administrator Tools: Company Login Filter

Winthrop DCThis post is part of the Hands On With the GP Power Tools (GPPT) – Administrator Tools series in which I am taking a hands on look at the various tools offered by GPPT.

The Company Login Filter window (GP Power Tools area page >> Setup >> Company Login Filter) is used to set up filtering of the companies available in the Company Login window for a user depending on the instance of the application environment currently being used. This is useful functionality as, on a system with different customization dictionaries or different custom forms and reports for different companies, you can ensure that the correct companies can only be used with the appropriate application client.

This is a scenario used by a number of my clients, so I was interested in doing some testing of this function. The way we’ve dealt with it in the past it to giev the client two shortcuts, looking at different launch files.

There is two ways of configuring this tool, but I am only looking at one of them. I have a single Dex.ini file and two launch files in the application folder; the default DYNAMICS.SET and a DYNAMICS-UK.SET which is pointing at different report and forms locations.

To configure the company login filters, launch the window and enter a Profile ID and Profile Name.

The left scrolling window will populate with the profile ID and a branch for Default Filter when no Path matched. Select this and then mark one (or more) of the companies listed in the right window:

Company Login Filter - select companies for no filters.

Next, I need to select the second of my launch files. Do this by clicking on the blue bar containing the text Add Launch File Path or … and then on the popup context menu click on Select Launch File Path:

Company Login Filter - select new launch file path.

In the Select a launch file to open dialog, navigate to the launch file you require, select it and click Open:

Company Login Filter

With the new launch file selected in the left scrolling window, mark the cokpany (or companies) it should be used with in the right scrolling window:

Company Login Filter - set companies for new launch file path.

Once all launch files and companies have been selected, the final step is to make the profile active. This is done by marking the Enable current Profile on this workstation checkbox and click Save:

Company Login Filter

The setting for this is stored within the Dex.ini file on the computer on whcih the profile was created. The following line is added to the Dex.ini file:

MBS_Debug_CompanyFilter=DEFAULT

This setting needs to be rolled out to all other clients on the system, but GPPT has a function to easily allow this, and which I have already blogged about. Settings in the Dex.ini file can easily be rolled out using the Dex.ini Configuration function.

Click to show/hide the Hands On With the GP Power Tools - Administrator Tools Series Index

What should we write about next?

Your Name (required) -
Your Email (required) -

(Visited 18 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *