To migrate the display name and variant ID: (3 Catalogs)
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 > To migrate the display name and variant ID: (3 Catalogs)




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

    To migrate the display name and variant ID: (3 Catalogs)  
Shane M Ryan


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


 
07-09-04 08:17 PM

Does anyone have some working examples of this?  We have three catalogs in
one site, how does this XML format look? Three XML files, or all in one?





To migrate the display name and variant ID:

Note  Using the display name and variant ID, Name is the property you
currently use to store product display names. You must use the property name
NewVariantCodeProperty for the new catalog variant identifying property.

Create an XML file named c:\propertynames.xml in the following format:

<?xml version="1.0"?>

<UpgradeInfo>

<Catalog name="Adventure Works Catalog" productDisplayNameProperty="Name"
variantIdProperty ="NewVariantCodeProperty"/>

</UpgradeInfo>

CatalogMigrationTool.exe -S "Retail" -N "c:\propertynames.xml"

a.. To migrate only the Name property to the DisplayName property
(excluding the variant identifying property):
Create an XML file named c:\propertynames.xml in the following format:

<?xml version="1.0" ?>

<UpgradeInfo>

<Catalog name="Adventure Works Catalog"
productDisplayNameProperty="Name" />

</UpgradeInfo>

CatalogMigrationTool.exe -S "sitename" -N "displaynamesfile.xml"







[ Post a follow-up to this message ]



    RE: To migrate the display name and variant ID: (3 Catalogs)  
Vinayak Tadas[MSFT]


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


 
07-09-04 08:19 PM

You can represent all the three catalogs in the same xml file

<?xml version="1.0"?>
<UpgradeInfo>
<Catalog name="Catalog1" productDisplayNameProperty="Name"
variantIdProperty ="NewVariantCodeProperty"/>
<Catalog name="Catalog2" productDisplayNameProperty="Name"/>
<Catalog name="Catalog3" productDisplayNameProperty="Name"
variantIdProperty ="NewVariantCodeProperty"/>
</UpgradeInfo>

You should specify the variantIdProperty only if your catalog has the same
productid and variantid property.


--------------------
From: "Shane M Ryan" <shanemryanNOSPAM@hotmail.com>
Subject: To migrate the display name and variant ID: (3 Catalogs)
Date: Wed, 7 Jul 2004 22:51:19 -0500
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Message-ID: <eXy6m7JZEHA.3844@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.commerceserver.catalog
NNTP-Posting-Host: adsl-66-137-138-181.dsl.rcsntx.swbell.net 66.137.138.181
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.catalog:4795
X-Tomcat-NG: microsoft.public.commerceserver.catalog

Does anyone have some working examples of this?  We have three catalogs in
one site, how does this XML format look? Three XML files, or all in one?





To migrate the display name and variant ID:

Note  Using the display name and variant ID, Name is the property you
currently use to store product display names. You must use the property name
NewVariantCodeProperty for the new catalog variant identifying property.

Create an XML file named c:\propertynames.xml in the following format:

<?xml version="1.0"?>

<UpgradeInfo>

<Catalog name="Adventure Works Catalog" productDisplayNameProperty="Name"
variantIdProperty ="NewVariantCodeProperty"/>

</UpgradeInfo>

CatalogMigrationTool.exe -S "Retail" -N "c:\propertynames.xml"

a.. To migrate only the Name property to the DisplayName property
(excluding the variant identifying property):
Create an XML file named c:\propertynames.xml in the following format:

<?xml version="1.0" ?>

<UpgradeInfo>

<Catalog name="Adventure Works Catalog"
productDisplayNameProperty="Name" />

</UpgradeInfo>

CatalogMigrationTool.exe -S "sitename" -N "displaynamesfile.xml"




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 ]



    Re: To migrate the display name and variant ID: (3 Catalogs)  
Shane M Ryan


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


 
07-09-04 08:21 PM

Where do I find this parameter?

productDisplayNameProperty="Name"

what is name?






"Vinayak Tadas[MSFT]" <vtadas@online.microsoft.com> wrote in message
news:wv31%23gRZEHA.600@cpmsftngxa06.phx.gbl...
> You can represent all the three catalogs in the same xml file
>
> <?xml version="1.0"?>
> <UpgradeInfo>
> <Catalog name="Catalog1" productDisplayNameProperty="Name"
> variantIdProperty ="NewVariantCodeProperty"/>
> <Catalog name="Catalog2" productDisplayNameProperty="Name"/>
> <Catalog name="Catalog3" productDisplayNameProperty="Name"
> variantIdProperty ="NewVariantCodeProperty"/>
> </UpgradeInfo>
>
> You should specify the variantIdProperty only if your catalog has the same
> productid and variantid property.
>
>
> --------------------
> From: "Shane M Ryan" <shanemryanNOSPAM@hotmail.com>
> Subject: To migrate the display name and variant ID: (3 Catalogs)
> Date: Wed, 7 Jul 2004 22:51:19 -0500
> Lines: 42
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
> Message-ID: <eXy6m7JZEHA.3844@TK2MSFTNGP10.phx.gbl>
> Newsgroups: microsoft.public.commerceserver.catalog
> NNTP-Posting-Host: adsl-66-137-138-181.dsl.rcsntx.swbell.net
66.137.138.181
> Path:
>
cpmsftngxa06.phx.gbl!TK2MSFTNGXS01.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
> 8.phx.gbl!TK2MSFTNGP10.phx.gbl
> Xref: cpmsftngxa06.phx.gbl microsoft.public.commerceserver.catalog:4795
> X-Tomcat-NG: microsoft.public.commerceserver.catalog
>
> Does anyone have some working examples of this?  We have three catalogs in
> one site, how does this XML format look? Three XML files, or all in one?
>
>
>
>
>
> To migrate the display name and variant ID:
>
>   Note  Using the display name and variant ID, Name is the property you
> currently use to store product display names. You must use the property
name
> NewVariantCodeProperty for the new catalog variant identifying property.
>
> Create an XML file named c:\propertynames.xml in the following format:
>
> <?xml version="1.0"?>
>
> <UpgradeInfo>
>
> <Catalog name="Adventure Works Catalog" productDisplayNameProperty="Name"
> variantIdProperty ="NewVariantCodeProperty"/>
>
> </UpgradeInfo>
>
> CatalogMigrationTool.exe -S "Retail" -N "c:\propertynames.xml"
>
>   a.. To migrate only the Name property to the DisplayName property
> (excluding the variant identifying property):
>   Create an XML file named c:\propertynames.xml in the following format:
>
>        <?xml version="1.0" ?>
>
>        <UpgradeInfo>
>
>        <Catalog name="Adventure Works Catalog"
>        productDisplayNameProperty="Name" />
>
>        </UpgradeInfo>
>
>   CatalogMigrationTool.exe -S "sitename" -N "displaynamesfile.xml"
>
>
>
>
> 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 09:38 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