Create Product (Urgent.. Please HELP!!!)
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 Catalog > Create Product (Urgent.. Please HELP!!!)




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

    Create Product (Urgent.. Please HELP!!!)  
Vishal


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


 
09-23-04 02:48 AM

I have a xml file which has Definition, ProductID, List Price, Item Number,
Product Affinity Links, Parent Category etc... and also the properties
associated to that productID.
The thing is that I have to Insert or Update (c# class) this Information in
the CommerceServer 2002 database based on if the productID exists in the
database or not.
Can someone please tell me how can that be achieved.. .I mean,  using the
existing CommerceServer API's. I do not have any experience with the
CommerceServer 2002.
Or if someone can tell me what refferences are to be used, how can I make a
database connection, how can I get an existing products value as true or
false as then I can use the CreateProduct method or if the product exists
then how can I set the properties related to the product.
I hope if any one reads this and has substaintial CommerceServer exp .. can
certainly understand.. ..

Kindly respond back ASAP as this is very urgent.
Thanks in Advance,
Vishal.






[ Post a follow-up to this message ]



    RE: Create Product (Urgent.. Please HELP!!!)  
Vinayak Tadas[MSFT]


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


 
09-23-04 02:18 PM

See my reply to the previous post.
If you are using C# then you need to use the Interop opbjects to perform
the updates
See this link for interop objects
http://msdn.microsoft.com/library/d...-us/csvr2002/ht
m/ cs_rp_microsoft_commerceserver_interop_c
atalog_net_kzwu.asp

You need to add a reference to the CatalogLib.dll which will be present in
the Assemblies folder of your commerce server installation

Let me know if you need additional information
--------------------
Thread-Topic: Create Product (Urgent.. Please HELP!!!)
thread-index: AcSeX6EOJX/8LBZoSzWKGMiwTCOLmg==
X-WBNR-Posting-Host: 194.128.184.5
From: examnotes <Vishal@discussions.microsoft.com>
Subject: Create Product (Urgent.. Please HELP!!!)
Date: Sun, 19 Sep 2004 08:45:03 -0700
Lines: 20
Message-ID: <755B9140-1C5E-44CC-9296-E670488B8441@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.catalog
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.catalog:4952
X-Tomcat-NG: microsoft.public.commerceserver.catalog

I have a xml file which has Definition, ProductID, List Price, Item Number,
Product Affinity Links, Parent Category etc... and also the properties
associated to that productID.
The thing is that I have to Insert or Update (c# class) this Information in
the CommerceServer 2002 database based on if the productID exists in the
database or not.
Can someone please tell me how can that be achieved.. .I mean,  using the
existing CommerceServer API's. I do not have any experience with the
CommerceServer 2002.
Or if someone can tell me what refferences are to be used, how can I make a
database connection, how can I get an existing products value as true or
false as then I can use the CreateProduct method or if the product exists
then how can I set the properties related to the product.
I hope if any one reads this and has substaintial CommerceServer exp .. can
certainly understand.. ..

Kindly respond back ASAP as this is very urgent.
Thanks in Advance,
Vishal.



Thanks
Vinayak Tadas
Microsoft
http://blogs.msdn.com/vinayakt

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure!  For more info visit http://www.microsoft.com/security.  Please
reply to the newsgroups only.  Thanks






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:51 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