| Author |
Message |
Guest
|
Posted:
Wed Dec 29, 2004 2:40 am Post subject:
Object Dictionaries? |
|
|
I have searched all over the web and can't seem to find any reference
material on what the default keys are for many of the Commerce Server
Objects.. I am trying to write a web service to export PO's but can't
go very far with out some kind of help regarding the PurchaseOrder,
OrderForm and LineItem Objects...
Why aren't the default list of keys for each object employing a
dictionary listed on MSDN or made available somewhere? Not having that
kind of basic API information make Commerce server pretty useless in
the integration department.. (at lease when you are trying to actually
use its API's instead of jump strait into the DB.)
Thanks for any help you guys can provide.
Josh Handel |
|
| Back to top |
|
 |
Ravi Shankar
Guest
|
Posted:
Wed Dec 29, 2004 10:33 am Post subject:
RE: Object Dictionaries? |
|
|
The default list of Keys available on each of these objects are already
exposed in .Net as Properties. If your go through the documentation (Commerce
Server Help File) you should find a very good graphic on the Keys that are
contained in the OrderForm object.
Regards.
"jhandel@gmail.com" wrote:
| Quote: | I have searched all over the web and can't seem to find any reference
material on what the default keys are for many of the Commerce Server
Objects.. I am trying to write a web service to export PO's but can't
go very far with out some kind of help regarding the PurchaseOrder,
OrderForm and LineItem Objects...
Why aren't the default list of keys for each object employing a
dictionary listed on MSDN or made available somewhere? Not having that
kind of basic API information make Commerce server pretty useless in
the integration department.. (at lease when you are trying to actually
use its API's instead of jump strait into the DB.)
Thanks for any help you guys can provide.
Josh Handel
|
|
|
| Back to top |
|
 |
Josh
Guest
|
Posted:
Wed Dec 29, 2004 6:46 pm Post subject:
Re: Object Dictionaries? |
|
|
Those may be some of the default keys but they are not all of them.. I
have several books and they all have sample code using various other
keys like "_cy_Product_Name" or "_cy_List_Price" now since both of
these books have diffrence sample code calling the same keys on a
LineItem I can assume that those are probly default keys. BUT I have no
list that told me that.. I had to assume that because the authors used
those keys in sample code.
Now the Authors had to get those keys from somewhere.. Either they have
some kinda master list that I can't seem to find in any documentation
OR on the web, or they have some process they use to expose those keys
so they know they exist... I can't imagine they come up with these key
names randomly... So What i am asking for is that master list of
standard/default key names or that process to devine all dictionary key
names for a given object. |
|
| Back to top |
|
 |
David Messner [MSFT]
Guest
|
Posted:
Thu Dec 30, 2004 4:22 am Post subject:
Re: Object Dictionaries? |
|
|
One suggestion is to turn on pipeline logging and you will see all the
values read/written from the components in the pipeline.
Another thing to be aware of is the way the QueryCatalogInfo component (in
the basket.pcf and product.pcf pipelines) works. It turns each of the
catalog properties for the line item into keys in the line item dictionary
by prepending _product_ to the property, e.g. "_product_name". There is no
way we could document all of these since they depend on the schema of your
particular catalog.
regards
-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.
--------------------
From: "Josh" <jhandel@gmail.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: Re: Object Dictionaries?
Date: 29 Dec 2004 04:46:21 -0800
Organization: http://groups.google.com
Lines: 16
Message-ID: <1104324381.571055.312490@f14g2000cwb.googlegroups.com>
References: <1104266430.055545.33350@f14g2000cwb.googlegroups.com>
<8400812F-075C-43A1-96DB-B0476D10FDEA@microsoft.com>
NNTP-Posting-Host: 24.206.105.100
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1104324385 21584 127.0.0.1 (29 Dec 2004
12:46:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 29 Dec 2004 12:46:25 +0000 (UTC)
In-Reply-To: <8400812F-075C-43A1-96DB-B0476D10FDEA@microsoft.com>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=24.206.105.100;
posting-account=7UEmUAsAAAD2Tj4hFPv8b9ECvGkgmdce
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
sfeed1.ip.tiscali.net!news.maxwell.syr.edu!postnews.google.com!f14g2000cwb.g
ooglegroups.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15329
X-Tomcat-NG: microsoft.public.commerceserver.general
Those may be some of the default keys but they are not all of them.. I
have several books and they all have sample code using various other
keys like "_cy_Product_Name" or "_cy_List_Price" now since both of
these books have diffrence sample code calling the same keys on a
LineItem I can assume that those are probly default keys. BUT I have no
list that told me that.. I had to assume that because the authors used
those keys in sample code.
Now the Authors had to get those keys from somewhere.. Either they have
some kinda master list that I can't seem to find in any documentation
OR on the web, or they have some process they use to expose those keys
so they know they exist... I can't imagine they come up with these key
names randomly... So What i am asking for is that master list of
standard/default key names or that process to devine all dictionary key
names for a given object. |
|
| Back to top |
|
 |
|
|
|
|