Commerce Server Catalog - Product added in a catalog and immediately visible

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server Catalog > June 2005 > Product added in a catalog and immediately visible





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Product added in a catalog and immediately visible
ddd

2005-05-24, 8:19 am

Hi,

When I import products to a catalog by BizDesk or the PIA methods, these
products can be visualized immediately in my web site (ASP.Net).

How can i do to prevent the visualization of my new products in my website
untill i decided (explicit refresh...) ?

The catalog.refresh method seems useless in my case because it refreshes the
caches and i don't use the cache objects because it seems to be dedicated to
ASP site.

Thanks for your help.

Ravi Shankar

2005-05-25, 2:47 am

Are you using FP1 ?

The Catalog component in FP1 does not have the cache enabled by default and
since it uses a different caching technology than the CS Cache, it needs to
be programitically enabled... There is a KB from Microsoft explaining how
this can be done (the problem is I don't have that link handy)

Since the caching is not enabled by default, all changes will be reflected
immediately.

"ddd" wrote:

> Hi,
>
> When I import products to a catalog by BizDesk or the PIA methods, these
> products can be visualized immediately in my web site (ASP.Net).
>
> How can i do to prevent the visualization of my new products in my website
> untill i decided (explicit refresh...) ?
>
> The catalog.refresh method seems useless in my case because it refreshes the
> caches and i don't use the cache objects because it seems to be dedicated to
> ASP site.
>
> Thanks for your help.
>

ddd

2005-06-01, 5:52 pm

Thanks for your help

We don't use FP1.

But is it possible with FP1 to import (create, delete) products in an
existing catalog and, if there are errors for example, to "rollback" (or
explicitely refresh) the entire import with the new caching functionalities.
All the users that work during the process could only see the catalog as it
was before the import begins.



"Ravi Shankar" wrote:
[vbcol=seagreen]
> Are you using FP1 ?
>
> The Catalog component in FP1 does not have the cache enabled by default and
> since it uses a different caching technology than the CS Cache, it needs to
> be programitically enabled... There is a KB from Microsoft explaining how
> this can be done (the problem is I don't have that link handy)
>
> Since the caching is not enabled by default, all changes will be reflected
> immediately.
>
> "ddd" wrote:
>
Ravi Shankar

2005-06-01, 5:52 pm

If you're not using FP1 then in the web.config file for your site look for
the following entry
<cache
name="QueryCatalogInfoCache"
type="QCI"
loaderProgId="Commerce.LRUCacheFlush"
refreshInterval="0"
retryInterval="300"
maxSize="10000">

This controls the catalog cache.. a "refreshInterval" of 0 means online
which is similar to the behaviour you're seeing... this entry is set in
seconds so setting it appropriately would control your ability to modify
catalogs and publish then at the site.

No, FP1 would not provide the functionality you're requesting. It has that
functionality only for discounts.

The functionality you're requesting however is better achieved if you have a
QA system in place... all new catalog work can happen on the QA environment.
Once the catalogs are ready they can be exported from the QA and imported
into production.


"ddd" wrote:
[vbcol=seagreen]
> Thanks for your help
>
> We don't use FP1.
>
> But is it possible with FP1 to import (create, delete) products in an
> existing catalog and, if there are errors for example, to "rollback" (or
> explicitely refresh) the entire import with the new caching functionalities.
> All the users that work during the process could only see the catalog as it
> was before the import begins.
>
>
>
> "Ravi Shankar" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com