retrieving catalogContext
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > retrieving catalogContext




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    retrieving catalogContext  
CreateVariants method


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-27-04 10:48 PM

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 ]



    RE: retrieving catalogContext  
David Messner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:53 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register