I am relatively new to biztalk. I am building a biztalk solution that involves receiving an XML file through various feedhub locations. Hence, I am using a file adapter to receive a message. As more clients onboard this solution, I will be adding more one way file adapter receive locations. My question involves around how can I pass the drop location folder name into the single generic orchestration so I can tie some identity information to the message? I would truly appreciate some feedback from the Biztalk gurus out there.
Actually sorry misread ur reply.I believe you have given me the answer I was waiting for. Thank you for your guidance.
This is a pretty straightforward answer to your question:
In your orchestration, you define a message associated with your receive port that activates your orchestration (let's call this message mInitOrch). Then, in an Expression shape, you can reference the property for this message that return the drop location folder name by using this statement:
vMyString = mInitOrch(BTS.InboundTransportLocation);
vMyString is a variable of type String in your orchestration.
I hope this helps.
"Google skills are more important than your coding skills."
Thank You for your reply. Although the file name is accessible through the constructed message, the file name alone does not help me uniquely identify the drop location. How can I ensure that I can access the folder path so I can use some regular expression and parse some identity against the filepath? If the folder path is not accesible in the orchestration, can i assign some property to the receive location that i can access through the orchestration. Once again I appreciate your guidance.
If you are selecting File Adapter you can specify that Receive Pipeline is XML Pipeline and go to receive location and click on create your folder path and click on *.* on second line on send port.