| Tatyana Yakushev [MSFT] 2004-05-11, 8:21 pm |
| Default values will be used in Mapper no matter if it's an XML schema or a flat-file schema. Go ahead, set them and everything will work.
Thanks
Tatyana
--------------------
>Content-Class: urn:content-classes:message
>From: "Harry P." <anonymous@discussions.microsoft.com>
>Sender: "Harry P." <anonymous@discussions.microsoft.com>
>Subject: Default Values
>Date: Tue, 16 Dec 2003 04:18:32 -0800
>Lines: 22
>Message-ID: <0b8401c3c3ce$b8ad99d0$a101280a@phx.gbl>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Thread-Index: AcPDzrit5FFOdG+MQ8GiCX8sDqnlrw==
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
>Newsgroups: microsoft.public.biztalk.tools
>Path: cpmsftngxa07.phx.gbl
>Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.tools:3234
>NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
>X-Tomcat-NG: microsoft.public.biztalk.tools
>
>Is it possible to set a default value for a field if the
>field is in a CUSTOM document type.
>The help files state that the Default Value is only
>available for XML document types, unfortunately my flat
>file format has a header record that contains the list of
>column titles for the rest of the records in the file.
>I would prefer to specify the values for these column
>titles in the document definition through Biztalk Editor
>rather than having to specify them as constants in the
>Biztalk Mapper every time I want to transform data to that
>document type.
>
>Example of file format
>
> header_fieldname_1|header_fieldname_2|he
ader_fieldname_3
>stringdata_1|1.00|stringdata_3
>moredata_1|35.00|moredata_3
>asdfgh|12.00|qwerty
>
>thanks,
>
>Harry P.
>
--
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
Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
|