|
Home > Archive > Commerce Server General > May 2005 > How to update DisplayName in code
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 |
How to update DisplayName in code
|
|
| Tomas Vera 2005-05-05, 5:57 pm |
| Hello All,
I'm finishing up a CS2002 project and coming down to some outstanding
issues.
I need to be able to update a product's DisplayName property through
code.
The CatalogManager interface in FP1 is very difficult for my client to
use and we have designed a custom interface for many of the product
proerties. We can update some custom fields (such as description,
usage info, etc.) without any problem.
However, I am not able to update the DisplayName.
Looking into the Product3.SetProductProperties Method (PIA)
documentation I see this statement
"This method will not update the fields derived from the catalog such
as ProductId and VariantID. "
So... How do I update the DisplayName from my code?
How does the CatalogManager update the displayName?
TIA,
-tomas vera
/*-------------------------------
* Tomas Vera
* tomas (at) sbcglobal (dot) net
*-------------------------------
*/
| |
| Vinayak Tadas[MSFT] 2005-05-26, 5:55 pm |
| The COM objects/interop do not allow updating the display names for products
The CatalogManager uses the catalog WebServices to update the product
catalogs
See this article
http://blogs.msdn.com/vinayakt/arch.../28/143678.aspx
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
--------------------
From: Tomas Vera <tavera@NO_SPAM_sbcglobal.net>
Newsgroups: microsoft.public.commerceserver.general
Subject: How to update DisplayName in code
Message-ID: <9dok715t44l0rfpl4qmgic0de8pvjvfth4@4ax.com>
X-Newsreader: Forte Free Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 32
NNTP-Posting-Host: 216.52.212.200
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr13.news.prodigy.com 1115316987 ST000 216.52.212.200 (Thu,
05 May 2005 14:16:27 EDT)
NNTP-Posting-Date: Thu, 05 May 2005 14:16:27 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1:
S[O[S^_GPRRQBFD& #91;LZKJOPHAWB\^PBQLGPQRZQ]KEYUNDQUCCNSU
AACY@L[ZX__HGFD]JBJNSFXT
OOGA_VWY^_HG@FW_HUTHOH]TBPGCO\P^PLP^@[GLHUK@WLECKFVL^TYG[@RMWQXIWM[SDDYWNLG_
G[_BWUCHFY_Y@AS@Q[B\APPF@DCZM_PG_VSCPQZM
Date: Thu, 05 May 2005 18:16:27 GMT
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!ne
wsfeed1.ip.tiscali.net!news.glorb.com!news-feed01.roc.ny.frontiernet.net!nnt
p.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!newsmst01a.news.pro
digy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.
POSTED!2080ae30!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.commerceserver.general:2705
X-Tomcat-NG: microsoft.public.commerceserver.general
Hello All,
I'm finishing up a CS2002 project and coming down to some outstanding
issues.
I need to be able to update a product's DisplayName property through
code.
The CatalogManager interface in FP1 is very difficult for my client to
use and we have designed a custom interface for many of the product
proerties. We can update some custom fields (such as description,
usage info, etc.) without any problem.
However, I am not able to update the DisplayName.
Looking into the Product3.SetProductProperties Method (PIA)
documentation I see this statement
"This method will not update the fields derived from the catalog such
as ProductId and VariantID. "
So... How do I update the DisplayName from my code?
How does the CatalogManager update the displayName?
TIA,
-tomas vera
/*-------------------------------
* Tomas Vera
* tomas (at) sbcglobal (dot) net
*-------------------------------
*/
|
|
|
|
|