Commerce Server General - Is it possible to have a multi-valued property for a product?

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > February 2005 > Is it possible to have a multi-valued property for a product?





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 Is it possible to have a multi-valued property for a product?
Maximus

2005-02-23, 5:59 pm

Hi,

I am new to Commerce Server. I need to find a way to define a product with
multi-valued properties. It seems I can not get it done through Biz Desk.

Suppose I need to define a product like this:
<product>
<name>NameA</name>
<description>desc</description>
<review>
<Item>Rate 1</Item>
<Item>Rate 2</Item>
<Item>Rate 3</Item>
<Item>Rate 4</Item>
</review>
<ScreenShots>
<Screen>/image/image1</Screen>
<Screen>/image/image2</Screen>
<Screen>/image/image3</Screen>
</ScreenShots>
</product>

Can anyone give me an idea how to achive this? Thanks in advance.


Murat Ozkan

2005-02-24, 5:52 pm

I may suggest to use comma separated values or xml string data in specific
product property. You'll need to parse them in either case.

Murat

"Maximus" wrote:

> Hi,
>
> I am new to Commerce Server. I need to find a way to define a product with
> multi-valued properties. It seems I can not get it done through Biz Desk.
>
> Suppose I need to define a product like this:
> <product>
> <name>NameA</name>
> <description>desc</description>
> <review>
> <Item>Rate 1</Item>
> <Item>Rate 2</Item>
> <Item>Rate 3</Item>
> <Item>Rate 4</Item>
> </review>
> <ScreenShots>
> <Screen>/image/image1</Screen>
> <Screen>/image/image2</Screen>
> <Screen>/image/image3</Screen>
> </ScreenShots>
> </product>
>
> Can anyone give me an idea how to achive this? Thanks in advance.
>
>
>

Vinayak Tadas[MSFT]

2005-02-24, 5:52 pm

This (multi value support) is not supported in the catalog system. You can
work around this by saving it as a comma separated list

--------------------
From: "Maximus" <maximus@microsoft.com>
Subject: Is it possible to have a multi-valued property for a product?
Date: Wed, 23 Feb 2005 15:46:14 -0500
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.181
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Message-ID: <OTrN4ieGFHA.2936@TK2MSFTNGP15.phx.gbl>
Newsgroups: microsoft.public.commerceserver.general
NNTP-Posting-Host: hse-montreal-ppp338028.sympatico.ca 65.92.149.3
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
5.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.commerceserver.general:15658
X-Tomcat-NG: microsoft.public.commerceserver.general

Hi,

I am new to Commerce Server. I need to find a way to define a product with
multi-valued properties. It seems I can not get it done through Biz Desk.

Suppose I need to define a product like this:
<product>
<name>NameA</name>
<description>desc</description>
<review>
<Item>Rate 1</Item>
<Item>Rate 2</Item>
<Item>Rate 3</Item>
<Item>Rate 4</Item>
</review>
<ScreenShots>
<Screen>/image/image1</Screen>
<Screen>/image/image2</Screen>
<Screen>/image/image3</Screen>
</ScreenShots>
</product>

Can anyone give me an idea how to achive this? Thanks in advance.




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

Ravi Shankar

2005-02-25, 2:50 am

In your XML you specify different rates & different images... would using the
variants help resolve your issue ?


"Maximus" wrote:

> Hi,
>
> I am new to Commerce Server. I need to find a way to define a product with
> multi-valued properties. It seems I can not get it done through Biz Desk.
>
> Suppose I need to define a product like this:
> <product>
> <name>NameA</name>
> <description>desc</description>
> <review>
> <Item>Rate 1</Item>
> <Item>Rate 2</Item>
> <Item>Rate 3</Item>
> <Item>Rate 4</Item>
> </review>
> <ScreenShots>
> <Screen>/image/image1</Screen>
> <Screen>/image/image2</Screen>
> <Screen>/image/image3</Screen>
> </ScreenShots>
> </product>
>
> Can anyone give me an idea how to achive this? Thanks in advance.
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com