Export (0) Print
Expand All

Targeting Objects

Commerce Server 2002

The content selection objects are used to select custom content for display on Web pages and are part of the Content Selection Framework (CSF). Although the CSF uses many different objects to select content, such as the ContentList object, the ContentListFactory object, and the CacheManager object, this section focuses on the ContentSelector object, which is the main object used to get and display targeted content. The ContentSelector object invokes different CSF pipelines to select different types of content based on the dictionary passed to the GetContent method.

The Targeting Programming Concepts topic describes the concepts related to programming with the Content Selection objects.

Objects

Visual Basic ReferenceC++ InvocationDescription
ContentListContentListContains a representation of each content item eligible for a given request for content. Also provides services to Content Selection Framework (CSF) components such as filtering and sorting.
ContentListFactoryContentListFactoryAllows creation of ContentList objects, and stores data shared by those objects.
ContentListSchemaContentListSchemaAllows manipulation of the schema for a ContentListFactory object.
ContentSelectorContentSelectorAllows specification and retrieval of page content.
ExpressionEvalExpressionEvalAllows selection and evaluation of one or more expressions against a set of profiles.
ExpressionStoreExpressionStoreProvides methods to create, save, modify, and retrieve expressions.
ExprEvalContextExprEvalContextStores a specific evaluation context (set of profiles) that can be used for multiple expression evaluation operations.
ExprFltrQueryBldrExprFltrQueryBldrTranslates an expression in XML form into a SQL filter query string.
ListManagerListManagerProvides methods to create, destroy, manage, and manipulate lists.
PredictorClientPredictorClientLoads an analysis model, sets properties controlling the prediction context, and executes the prediction algorithm.
RowCollectionRowCollectionAllows enumeration of the rows returned from the ActiveRows and AllRows properties, and the Search method, of a ContentList object, and from the AllRows property and the Search method of a ContentListFactory object.

Examples

ExampleDescription
Code to Support the ContentSelector ObjectContains code to include in the Global.asa file to support the ContentSelection object.
Code to Execute the ContentSelector ObjectContains code to include in the Default.asp file that you use to create the ContentSelection object, code that you use with the GetContent method, and code you use to write ads to the Web page.
Code to Connect to the Expression StoreDescribes how to connect to, and disconnect from, the Expression Store.
Code to Create an Evaluation ContextDescribes how to create an evaluation context that contains the data for evaluating an expression against.
Code to Evaluate an Expression Stored as an XML FragmentDescribes how to evaluate an expression stored as an XML fragment.
Code to Create a New ExpressionDescribes how to create a new expression.
Code to Manipulate ExpressionsDescribes how to retrieve or delete expressions from the Expression Store, rename an expression, or translate between expression IDs and expression names.
Code to Evaluate a Single ExpressionDescribes how to evaluate a single expression.
Code to Evaluate Groups of ExpressionsDescribes how to create a stored evaluation context and evaluate groups of expressions against this common context.
Code to Import and Export ExpressionsDescribes how to import and export expressions.
Code to Initialize the ListManager ObjectDescribes how to create and initialize the ListManager object.
Code to Create a ListDescribes how to create a list from a file.
Code to Manipulate ListsDescribes the operations performed on lists such has copy, subtract, union, and export, and the procedure to add and subtract a user from a list.
Code to Enumerate Available ListsDescribes how to retrieve and enumerate the available lists and set list properties, such as the list name and description.

Copyright © 2005 Microsoft Corporation.
All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft