Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / IPageViewRepository Interface / GetViewsByProduct Method / GetViewsByProduct(Int32,Int32,String) Method
Maximum number of rows to retrieve
Index of the row from where to start retrieving
Expression used for sorting the results
In This Topic
    GetViewsByProduct(Int32,Int32,String) Method
    In This Topic
    Gets a collection of Key Value pairs; each key representing a ICatalogable (Product) object and each value representing the number of views for this object. The result contains views by product.
    Syntax

    Parameters

    maximumRows
    Maximum number of rows to retrieve
    startRowIndex
    Index of the row from where to start retrieving
    sortExpression
    Expression used for sorting the results

    Return Value

    A collection of Key Value pairs; each key representing a ICatalogable (Product) object and each value representing the number of views for this object
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also