|
Home > Archive > Commerce Server General > August 2005 > Using FP1 Web Services to add virtual catalog items.
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 |
Using FP1 Web Services to add virtual catalog items.
|
|
| Byron Hopp [MCS] 2005-08-14, 2:47 am |
| Is there a place with sample code to perform this task. We seem to get
errors all the way, any help would be appreciated.
Thanks,
Byron...
| |
| Colin Bowern 2005-08-18, 5:52 pm |
| Hi Byron,
Because virtual catalogs are a composite view of one or more base catalog
product sets you will need to first create the product in a base catalog.
Once you have done so you can then apply a rule to the virtual catalog to
include that product and optionally add a pricing rule to modify the price
of that product. Once that is done a virtual catalog will need to be
rebuilt to include the new product information.
The web service documentation (Program Files\Microsoft Commerce Server
2002\FP1\SDK\CS2002_AgentAPI.chm) has a code example in C# of how to do this
in the "Using the Classes in the Catalog system" section. Hopefully in the
future CS2006 release we'll see code samples in all of the out-of-the-box
languages in order for it to be more accessible to all developers. I don't
have a piece of code handy at this moment but if you try from there and run
into any problems feel free to post the error message and a snippet of code
and we can do our best to assist you from there.
Cheers!
Colin
"Byron Hopp [MCS]" <bhopp@matrixcomputer.com> wrote in message
news:e6y5IsHoFHA.3408@tk2msftngp13.phx.gbl...
> Is there a place with sample code to perform this task. We seem to get
> errors all the way, any help would be appreciated.
>
> Thanks,
>
> Byron...
>
|
|
|
|
|