Re: reading receive context

Tech-Archive recommends: Fix windows errors by optimizing your registry



NewEmpMessage(FILE.ReceivedFileName) will give you the filename.

Anders

"Richard" <Richard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EB504EAD-FA7B-4802-A4FF-FB47C611273D@xxxxxxxxxxxxxxxx
I am attempting to put the file and path from the receiver into a promoted
property of a message

using your suggestion this should work

NewerEmpMessage = NewEmpMessage;
NewerEmpMessage.FilePath = NewEmpMessage.FILE.ReceivedFileName;


the expression parser says the identifier FILE does not exist





"Doug Girard [MSFT]" wrote:

Here are all of the available message context properties promoted by the
FILE adapter:
"File Adapter Property Schema and Properties"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06CoreDo
cs/html/c5ae5339-67bf-4fde-a721-5b1aa3b9caca.asp

From an orchestration expression shape you can access the context through
the message, for example:
MessageName.FILE.ReceivedFileName

For more about context, see "About BizTalk Message Context Properties ":
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/BTS06CoreDo
cs/html/bc700e43-a44c-482b-b91c-9f1d997a486a.asp

HTH,
Doug Girard [MSFT]

Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
Thread-Topic: reading receive context
thread-index: Acbsq5BA1b5VLNlOQPiwukQNAcBAMQ==
X-WBNR-Posting-Host: 12.37.93.2
From: =?Utf-8?B?UmljaGFyZA==?= <Richard@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: reading receive context
Date: Tue, 10 Oct 2006 13:35:03 -0700
Lines: 2
Message-ID: <C6B4EB62-253B-4EC0-8584-0E747C4E6896@xxxxxxxxxxxxx>
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.1830
Newsgroups: microsoft.public.biztalk.general
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:41542
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.biztalk.general

How can i get the receive context such as FILE.ReceivedFileName from the
message context and use it in my orchestration?





.



Relevant Pages

  • Re: reading receive context
    ... the expression parser says the identifier FILE does not exist ... "File Adapter Property Schema and Properties" ... From an orchestration expression shape you can access the context through ...
    (microsoft.public.biztalk.general)
  • RE: reading receive context
    ... NewerEmpMessage = NewEmpMessage; ... "File Adapter Property Schema and Properties" ... From an orchestration expression shape you can access the context through ...
    (microsoft.public.biztalk.general)
  • Re: Get the file name inside the map
    ... Several adapters promote the file name (like a File adapter ... "ReceivedFileName" property) to the message context. ... Is it possible to get hold of the input filename inside the map, ...
    (microsoft.public.biztalk.general)