Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.CMS Namespace / IPageTemplateRepository Interface / LoadForLayout Method
The Id of layout to search page templates for
Sort expression to use for sorting
Maximum number of rows to retrieve
Starting index from where to start retrieving
In This Topic
    LoadForLayout Method (IPageTemplateRepository)
    In This Topic
    Filter the page templates for the specified layout
    Syntax

    Parameters

    layoutId
    The Id of layout to search page templates for
    sortExpression
    Sort expression to use for sorting
    maximumRows
    Maximum number of rows to retrieve
    startRowIndex
    Starting index from where to start retrieving

    Return Value

    List of filtered page templates
    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