12-29-04 10:52 PM
Sure, you can create a CatalogContext using its static factory method:
CreateFromConnectionString(String, DebugContext)
Use an instance of ConsoleDebugContext for the second argument if your code
is not running in HttpContext.
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: retrieving catalogContext
thread-index: AcTsJ2fwblZ5NdYjScetx9dGHQc8QQ==
X-WBNR-Posting-Host: 212.143.57.174
From: examnotes
<CreateVariantsmethod@discussions.microsoft.com>
Subject: retrieving catalogContext
Date: Mon, 27 Dec 2004 07:19:06 -0800
Lines: 11
Message-ID: <6DE46DD3-25F4-4E2E-8B2E-D0A672FC21E6@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15308
X-Tomcat-NG: microsoft.public.commerceserver.general
Hi,
We have several stores that we've built in CS2002, now i am developing an
administrator interface to manage these stores. (bypassing CS built-in
management interface)
The problem is that i'm not working in the context of a store, hence i
cannot work with catalogContext object. is there a way retrieve this object
from outside the store once the administrator select the store of interest.
specifically i'm trying to implement a search function that will return the
set of all products in which there "description" field contains a certain
value.
Amir
[ Post a follow-up to this message ]
|