You can download the Dashboard Explorer Code here: DashboardExplorerCode.zip

Steps to create a Dashboard Project in the Accelerator:

  • Create a new WPF User Control Project in Visual Studio.  You can call the project WPF.Dashboard  if you want to be generic or if you want to be more specific, call it WPF.<ModuleName>Dashboard.  You can also put the Project in a solution folder if you plan on having multiple dashboard projects.
  • Right-click on the new project and click Properties. Within properties, click on the Build section on the left hand side.  Set the output path for the dll to "..\..\bin\”. It is recommended that you set this build path for all your configurations (ex: Debug and Release)

  • Reference the following Accelerator dlls located in C:\Program Files\Accelerator for .NET\vx_x\Core\DotNet
    • A4DN.Core.BOS.Base
    • A4DN.Core.WPF.Base
    • A4DN.Core.WPF.Controls
  • Rename the UserControl1.xaml to DashboardExplorer.xaml
  • You project should look similar to this:

  • Copy the attached code DashboardExplorer.xaml.txt into DashboardExplorer.xaml
    • Replace the namespace WPF.Dashboard with your namespace
    • Replace the class DashboardExplorer with your class name
  • Copy the attached code DashboardExplorer.xaml.cs.txt into DashboardExplorer.xaml.cs
    • Replace the namespace WPF.Dashboard with your namespace
    • Replace the class DashboardExplorer with your class name
  • It is recommended that you add a reference to the new dashboard project in your startup WPF project.  That way Visual Studio will include the DLL in the deployment and well as manage when it needs to be built.
  • In the Accelerator Maintenance, create a new module.
    • The new module will be a customer Module
      • Important: The module name must be the name of the Namespace without the “WPF.” prefix  For example, if you named the project WPF.CustomerDashboard, this should just be CustomerDashboard. This is only important when creating a new module as the name is used to create the assembly references.  The name can be changed after the initial save.

      • Important: The Explorer Item Name should be the name of the class you created without the .xaml.cs extension.

  • Add the new module to a new or existing Application in your System using the Accelerator Maintenance Quick Add
  • Build and run your system.
  • When you click on the Dashboard module, it should look like this: