Commerce Server General - How to expose Custom Props on OrderForm or LineItem through Search

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > December 2004 > How to expose Custom Props on OrderForm or LineItem through Search





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 expose Custom Props on OrderForm or LineItem through Search
Ravi Shankar

2004-12-15, 6:28 pm

I've extended the OrderForm and LineItem dictionaries to store certain
additional properties. I've extended the DB Tables (appropriately) and can
see these values being persisted into these fields.

Now, I wanted to use the OrderGroupSearchOptions to ADD these to list of
columns returned by OrderGroupSearch.Search Method but that does not seem to
work. Additionally if I tried setting the
OrderGroupSearchOptions.FetchOrderFormInformation to TRUE but that did not
work too... I go a list of fields which did not contain my custom/extended
fields.

Part of a very critical requirement so appreciate a quick response.

Regards.
--
Ravi Shankar
Nihit Kaul [MSFT]

2004-12-16, 6:50 pm

Hi Ravi,

What is the search you are making (on OrderGroup properties or on some
extended property on LineItem/OrderForm)?

Also what are the other settings on the OrderGroupSearchOptions that you
are passing in (for e.g. FetchLineItemInformation)?

Thanks,
Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

--------------------
Thread-Topic: How to expose Custom Props on OrderForm or LineItem through
Search
thread-index: AcTisvz9Gx5CH4CLTnKwxUt7Dmc8uQ==
X-WBNR-Posting-Host: 15.211.169.100
From: =?Utf-8?B?UmF2aSBTaGFua2Fy?= <shankycheil@newsgroup.nospam>
Subject: How to expose Custom Props on OrderForm or LineItem through Search
Date: Wed, 15 Dec 2004 06:33:04 -0800
Lines: 16
Message-ID: <0EDEFF16-A3F9-4B42-BAE2-A2E1096B3CDB@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.general
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15247
X-Tomcat-NG: microsoft.public.commerceserver.general

I've extended the OrderForm and LineItem dictionaries to store certain
additional properties. I've extended the DB Tables (appropriately) and can
see these values being persisted into these fields.

Now, I wanted to use the OrderGroupSearchOptions to ADD these to list of
columns returned by OrderGroupSearch.Search Method but that does not seem
to
work. Additionally if I tried setting the
OrderGroupSearchOptions.FetchOrderFormInformation to TRUE but that did not
work too... I go a list of fields which did not contain my custom/extended
fields.

Part of a very critical requirement so appreciate a quick response.

Regards.
--
Ravi Shankar

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com