Blogs

Gary's Blog

XAF – New Dashboard Functionality (coming in V2010 Vol 2)

     

Software dashboards – much like the dashboard in your car – provide you with instant, summary information on the “health” of a system. Of course the term “health” can mean many things. If you are Amazon, it can mean information on orders/minute, stock levels/category etc. If you are an ISP it can mean things like total uptime/server, memory usage/server, etc. Whatever it means to you, it is important that you know about changes to it immediately and that is where the software dashboard comes in.

New in V2010 Vol2, XAF will provide the ability to create a dashboard view. Let’s take a look at how that will be done.

Using the FeatureCenter application, open the ModelEditor and add a new DashboardView to the Views node:

Dashboard_01

Then, we need to add some items to our dashboard:

Dashboard_02

Next we can select a view, that we want to be shown as an item, and a criteria. Let's add the Employees list view.

Dashboard_03

KPIs (more on these in a future blog post) can also be easily placed on dashboards. Let's add another DashboardVIewItem, and select KpiInstance_Chart_DetailView as its View. We'll use a Criteria to select a particular KPI:

Dashboard_04

If we have a previously created customized view (for example a list view shown as a chart using ChartListEditor), it can be placed onto a dashboard in the same way:

Dashboard_05

Now we can layout our dashboard as required. Click on the layout node, then invoke the layout customization dialog:

 Dashboard_06
Dashboard_07

Next, we need to create a navigation item which will open our dashboard:

Dashboard_08  
Finally, run the application and look at the dashboard in action:

Dashboard_09

Runtime customization is also supported. Invoke the layout customization for the dashboard and click the “Add” button to create an item. In the opened View selector, you can choose an object type and a view. Let's choose the “Sales by Countries” list view:

Dashboard_10

After clicking OK it appears on the Customization form, and can be dropped onto the dashboard:

 Dashboard_11
And, after some customization our dashboard looks like this:

Dashboard_12

Dashboards are supported for ASP.NET applications as well:

Dashboard_13

That’s all for this sneak peek, until next time, happy XAF'ing :-)

Published Aug 09 2010, 12:29 PM by Gary Short (DevExpress)
Filed under: ,
Technorati tags: v2010.2, XAF
Bookmark and Share

Comments

 

Garry Lowther said:

Looks great. Can we have this component for non-XAF projects?

August 9, 2010 10:18 AM
 

Dave Hesketh said:

AWESOME!

August 9, 2010 10:32 AM
 

Luc DEBRUN said:

Brilliant! Looking forward to playing with this.

August 9, 2010 11:23 AM
 

glynn davies said:

Looks great, been waiting for this

August 9, 2010 4:52 PM
 

Khal Sweis said:

Any plans to release a similar functionality for Silverlight?

August 9, 2010 6:02 PM
 

Julian Philp said:

Exactly what I was waiting for, THX!

August 10, 2010 1:28 AM
 

Luc DEBRUN said:

Question ... I dont see a print for the Graphs or the lists views.

Luc

August 10, 2010 2:47 AM
 

Steve Sharkey said:

Just the sort of thing I was looking for... Unfortunately I just renewed and removed XAF from my subscription due to lack of progress in the last version(s).

Oh well maybe I'll take another look in a couple of years (when I checked it didn't make sense to upgrade back up to universal after just one year away it would cost as much as if I'd kept it on my subscription!)

August 10, 2010 3:30 AM
 

Sanjeev narayan said:

Looks quite promising, can't wait to play with it.

August 10, 2010 8:41 AM
 

Dennis (DevExpress Support) said:

Hi Garry,

We appreciate your feedback.

We already have a corresponding suggestion (www.devexpress.com/issue=DS41803) in our TODO list. For now, I think you can easily take our layout control and drop several charts, gauges or other components onto it and configure them as required. Actually, that's what is actually done (of course, in a generic manner) concerning this feature in XAF.

August 10, 2010 10:41 AM
 

Dennis (DevExpress Support) said:

Hi Luc,

Thanks for your interest. It's already possible to print the layout control itself using the XAF's Printing module (there are corresponding print commands in the File menu).

We also plan to improve the print output in this scenario, so that nested layout controls are correctly printed (currently, I am afraid the print output is far from perfect because "screenshots" of nested controls are produced instead of normal printing system bricks). Please track the following suggestion to be automatically informed of any improvements in this regard: www.devexpress.com/issue=CS52917

August 10, 2010 10:53 AM
 

Dennis (DevExpress Support) said:

Hi Steve,

We greatly appreciate your feedback. Could you please send me a private message, using the capabilities of this forum, (or email me at support@devexpress.com), or Gary (garys@devexpress.com) and describe what missing functionality caused you to abandon this product. Your input in this regard is critical for us. Thanks  in advance.

Also, please read Gary's forthcoming blogs about new XAF's features coming in 2010.2. This stuff may be interesting for you.

August 10, 2010 11:12 AM
 

Luc DEBRUN said:

Hi Dennis,

Thanks for the prompt reply. I had guessed that the generic print layout action would work but I think managers would find tremendous value on printing/exporting to pdf (or other format) individual items of the Dashboard view.

say they noticed a graph being interesting for the staff meeting. click print. And show at meeting.

So it means adding a print for each item of the layout rather than a print for the view.

Luc

August 11, 2010 2:51 AM
 

Dennis (DevExpress Support) said:

Hi Luc,

Thanks for the feedback. I have added a corresponding task item internally to support the scenario you're talking about. Although I can't promise that it will be included in the 10.2 release, be assured that your feedback is taken into account for future improvements to this feature.

August 11, 2010 2:55 PM
 

Emil Mesropian (DevExpress) said:

@Khal:

Assuming you are asking about charting for Silverlight, then yes, the SL version of our charting suite will be available in the upcoming release of DXperience 10.2. XAF however, does not support Silverlight at this time.

August 11, 2010 4:13 PM
 

Khal Sweis said:

Any idea when the DXperiance 10.2 will be released?

August 17, 2010 12:44 AM
 

Dennis (DevExpress Support) said:

@Khal:

If all goes according to plan, it will be released in November. I am afraid we can't tell you the exact release date, as usual.

August 18, 2010 10:11 AM
 

Martin Sommer said:

Great news, very useful! Hope the security system supports accessing/navigation permissions to dashboard views?!

August 20, 2010 7:42 PM
 

Bill Hazelwood said:

Fantastic!!!!!!!

August 23, 2010 8:12 AM
 

Jesper Carstensen said:

This is awesome. I have been working on something similar, but I will stop that development.

Will it be possible to use a Dashboard View as a DetailView in a Master/Detail View?

As an example of what I want to achieve I want to have a list of my Projects, color-coded to show problem areas, and when I scroll through that list I get a Dashboard showing eg. KPIs for that particular project.

Rgds

Jesper Carstensen

August 24, 2010 2:54 AM
 

Dennis (DevExpress Support) said:

@Bill: We're glad to hear that you like it!

@Jesper: I checked it myself, and I see that it's currently impossible to use a dashboard View in a ListView those MasterDetailMode is set to ListViewAndDetailView. However, it's possible to create a custom DetailView and add required dashboard items to it.

It should meet your requirements.

September 13, 2010 12:39 PM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.