SaaS CMS has officially launched! Learn more now.

erik.engstrand@precio.se
Nov 7, 2009
  6087
(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 SaaS CMS Concepts and Terminologies

Whether you're a new user of Optimizely CMS or a veteran who have been through the evolution of it, the SaaS CMS is bringing some new concepts and...

Patrick Lam | Jul 15, 2024

How to have a link plugin with extra link id attribute in TinyMce

Introduce Optimizely CMS Editing is using TinyMce for editing rich-text content. We need to use this control a lot in CMS site for kind of WYSWYG...

Binh Nguyen Thi | Jul 13, 2024

Create your first demo site with Optimizely SaaS/Visual Builder

Hello everyone, We are very excited about the launch of our SaaS CMS and the new Visual Builder that comes with it. Since it is the first time you'...

Patrick Lam | Jul 11, 2024

Integrate a CMP workflow step with CMS

As you might know Optimizely has an integration where you can create and edit pages in the CMS directly from the CMP. One of the benefits of this i...

Marcus Hoffmann | Jul 10, 2024

GetNextSegment with empty Remaining causing fuzzes

Optimizely CMS offers you to create partial routers. This concept allows you display content differently depending on the routed content in the URL...

David Drouin-Prince | Jul 8, 2024 | Syndicated blog

Product Listing Page - using Graph

Optimizely Graph makes it possible to query your data in an advanced way, by using GraphQL. Querying data, using facets and search phrases, is very...

Jonas Bergqvist | Jul 5, 2024