Try our conversational search powered by Generative AI!

erik.engstrand@precio.se
Nov 7, 2009
  6030
(3 votes)

Users statistics gadget

After installing the EPiServer CMS 6 CTP I saw the Gadget contest on EPiSerer world. Here is my contribution to the contest. The users statistics gadget.

It simply displays a chart with the number of users and subscription users you have registered on the site. It’s also possible to show a chart of the users in a specific role. All settings is done in the Edit menu.

The chart is created in SIlverlight (Visifire). The Silverlight application accesses the users statistics from a WCF service. All wcf configurations is in the Gadget web.config. And therefore no need to update the web project’s web.config.

image 

 

Configuration

By clicking the Edit in the menu you will see some configuration options. You can choose to show statistics for one role of all roles in the RoleMembershipProvider.

image

Save history data

The history data is stored in the DynamicDataStore. I have created a scheduled job which should be executed once a day.

As seen in the image above I have made it possible to generate dummy data for the statistics. This is just for demo purposes.

Installation

If you have problems with the Silverlight chart. Add mime type to IIS: .xap     application/x-silverlight-app. Configuring IIS for Silverlight Applications.

The clientaccesspolicy.xml must be placed in the root of your project to get the Silverlight wcf reference running. This is done by the installer below.

Source code

Nov 07, 2009

Comments

erik.engstrand@precio.se
erik.engstrand@precio.se Sep 21, 2010 10:32 AM

Live writer problem. The first link is the installer.

erik.engstrand@precio.se
erik.engstrand@precio.se Sep 21, 2010 10:32 AM

The tags disappeared when editing the blog entry in Live writer.

Please login to comment.
Latest blogs
Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog