Skip to content

Instantly share code, notes, and snippets.

@mskutta
Last active November 2, 2016 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mskutta/26d1558213af3e85ac22167e98cb97d5 to your computer and use it in GitHub Desktop.
Save mskutta/26d1558213af3e85ac22167e98cb97d5 to your computer and use it in GitHub Desktop.
Sorting Sitecore Items by Popularity using xDB
using Sitecore.Analytics.Aggregation.Data.Model;
namespace Website.Logic.Analytics.Views
{
public class ViewFact : Fact<ViewKey, ViewValue>
{
public ViewFact() : base(ViewValue.Reduce)
{
}
public override string TableName
{
get { return "Views"; }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment