| Sudha Raghavan [MSFT] 2005-03-23, 6:01 pm |
| Text Property is equivalent CatalogDataType.String type
MultipleChoice is an CatalogDataType.Enumeration property.
Thanks
Sudha
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
--------------------
Thread-Topic: Creating a property definition in catalog
thread-index: AcUpkZ0MfPkjAMfjRCe2O1cEEaBdlQ==
X-WBNR-Posting-Host: 134.134.136.3
From: "=?Utf-8?B?cmFtYQ==?=" <rama@discussions.microsoft.com>
Subject: Creating a property definition in catalog
Date: Tue, 15 Mar 2005 11:03:03 -0800
Lines: 11
Message-ID: <C7FC12E9-F5BD-48A7-96DD-577A30399AFF@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: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.commerceserver.catalog:5311
X-Tomcat-NG: microsoft.public.commerceserver.catalog
I am using comm. server 2003 and FP1.
I need code sample for creating a property definition. I understand from
the
manual that I have to use create property from interop assembly. But the
method is asking for property name and catalogDataTypeEnum parameters.
How do I cast the user input to catalogDataTypeEnum if he selects to create
text property or multiple choice property?
Thanks in advancer
rama Narisetty
|