|
Home > Archive > Commerce Server Catalog > July 2006 > CS2007 Product Definitions
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 |
CS2007 Product Definitions
|
|
| Dave Marini 2006-07-12, 7:15 pm |
| Hi,
Really quick question about programmatically creating product definitions:
I have created a few properties using the Catalog and Inventory Schema
Manager app and have marked them as "Assign to All Product Types". If I then
go to Create a new Product Definition from the app, upon creation, all these
properties are automatically pulled in. But, when I do the same using the
Catalog API and CreateDefinition(), those properties are not automatically
pulled in. Any ideas as to why? Do I have to add all of these properties as
Base Properties to get around this?
Any help would be appreciated. I ask alot of questions because I have never
used Commerce Server and I'm trying to get up to speed with a product that
doesn't fully exist yet, so thanks for the patience,
Dave
| |
| Sudha Raghavan [MSFT] 2006-07-12, 7:15 pm |
| Hi Dave,
The value for the "AssignAll" property is respected only in the Catalog and
Inventory Schema Manager UI and is not respected by the susb system. This
is documented in the topic for
"CatalogPropertiesDataSet.CatalogProperty.AssignAll Property " .
Thanks
Sudha
--------------------
Thread-Topic: CS2007 Product Definitions
thread-index: Acal+Vq7EGuTGfWJTJ+plDWUUA0O+g==
X-WBNR-Posting-Host: 155.37.194.124
From: =?Utf-8?B?RGF2ZSBNYXJpbmk=?= <DaveMarini@discussions.microsoft.com>
Subject: CS2007 Product Definitions
Date: Wed, 12 Jul 2006 14:23:01 -0700
Lines: 17
Message-ID: <954DBC3B-E29F-497D-B65A-E0F6E35097C5@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.1830
Newsgroups: microsoft.public.commerceserver.catalog
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.catalog:6162
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.commerceserver.catalog
Hi,
Really quick question about programmatically creating product definitions:
I have created a few properties using the Catalog and Inventory Schema
Manager app and have marked them as "Assign to All Product Types". If I
then
go to Create a new Product Definition from the app, upon creation, all
these
properties are automatically pulled in. But, when I do the same using the
Catalog API and CreateDefinition(), those properties are not automatically
pulled in. Any ideas as to why? Do I have to add all of these properties
as
Base Properties to get around this?
Any help would be appreciated. I ask alot of questions because I have
never
used Commerce Server and I'm trying to get up to speed with a product that
doesn't fully exist yet, so thanks for the patience,
Dave
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Have a Commerce Server “How To” question? Help is a click away at our
Chats, Newsgroups and Web logs
Chats (2nd Wednesday of the month from 11 to Noon):
http://www.msdn.microsoft.com/chats/
Public newsgroups:
http://www.microsoft.com/technet/co...r/commerce.mspx
Web logs and community:
http://www.microsoft.com/commercese...ty/default.mspx
Other resources:
http://www.microsoft.com/technet/pr...02/default.mspx
|
|
|
|
|