BizTalk Server Orchestration - Custom %MessageID%.xml patterns for target files

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2005 > Custom %MessageID%.xml patterns for target files





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 Custom %MessageID%.xml patterns for target files
Nic Trajkovic

2005-01-28, 5:49 pm

Hello to all,

I have a need to have my BizTalk 2004 send port create
output file using a date time stamp i.e. (YYYYMMDDHH.xml)
instead of the default %MessageID% pattern target file
name used in the file or FTP transport Target File Name
property.

I only need to dynamically create 1 target file per day
using this custom pattern instead of a unique %
MessageID%.xml used as a default in BizTalk 2004.

I'd like to know if others have used various patterns for
customizing output target file names for send ports.

Examples of these patterns would be ideal especially with
literals and date/time stamps.

Thanks so much!

Nic Trajkovic
Asbjørn Rygg

2005-01-29, 2:46 am

Hi,

I`ve never used the FTP adapter but the File adapter allows you to use
%datetime% (YYYY-MM-DDThhmmss), %datetime_bts2000% (YYYYMMDDhhmmsss) or
%datetime.tz% (YYYY-MM-DDThhmmssTZD) instead of %MessageID%.
If you need any other format, you`d probably need to create a custom
pipeline to assign the correct format.

HTH,
Asbjørn

Nic Trajkovic wrote:
> Hello to all,
>
> I have a need to have my BizTalk 2004 send port create
> output file using a date time stamp i.e. (YYYYMMDDHH.xml)
> instead of the default %MessageID% pattern target file
> name used in the file or FTP transport Target File Name
> property.
>
> I only need to dynamically create 1 target file per day
> using this custom pattern instead of a unique %
> MessageID%.xml used as a default in BizTalk 2004.
>
> I'd like to know if others have used various patterns for
> customizing output target file names for send ports.
>
> Examples of these patterns would be ideal especially with
> literals and date/time stamps.
>
> Thanks so much!
>
> Nic Trajkovic

Bill Chesnut [BizTalk MVP]

2005-01-30, 5:50 pm

Nic,

Stephen Thomas has a good blog posting on just this:
http://geekswithblogs.net/sthomas/a...1/13/14949.aspx

Bill

"Nic Trajkovic" <ntrajkovic@collegeloan.com> wrote in message
news:218101c50567$706429b0$a601280a@phx.gbl...
Hello to all,

I have a need to have my BizTalk 2004 send port create
output file using a date time stamp i.e. (YYYYMMDDHH.xml)
instead of the default %MessageID% pattern target file
name used in the file or FTP transport Target File Name
property.

I only need to dynamically create 1 target file per day
using this custom pattern instead of a unique %
MessageID%.xml used as a default in BizTalk 2004.

I'd like to know if others have used various patterns for
customizing output target file names for send ports.

Examples of these patterns would be ideal especially with
literals and date/time stamps.

Thanks so much!

Nic Trajkovic


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com