File port. How to get a name of a receive file?(-)

Home Page Forums BizTalk 2004 – BizTalk 2010 File port. How to get a name of a receive file?(-)

Viewing 1 reply thread
  • Author
    Posts
    • #12762

      subj

    • #12763

      You can get the file name by reading the following property: File.ReceivedFileName. It is in the message context and you can access it inside a custom pipeline component or inside an Orchestration.

      Best of luck.

      • #12764

        l found the FILE.ReceivedFileName in the filter expression.
        How can l store it in a variable or an expression thanks to a .NET class?
        l looked in the MessageContextPropertyBase class but didn’t find any information.

        • #12765

          l found the answer. l was looking for complicated when it was simple.
          message(file.Receivedfilename)

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.