Skip to main content
Solved

How to give Dynamic File name to OutBound XML

  • December 16, 2022
  • 2 replies
  • 281 views

Forum|alt.badge.img+5

Hi,

I have created one OutBound XMl file from  PLSQLAP_Server_API.Post_Outbound_BizAPI .

And add Routing Rules and Address.

But the requirement is to give the file name as one column name .xml.

How we can give that from App9.

Thank you.

Best answer by dsj

Hi @Amar1479 

 

You can use placeholders in the routing address to setup a dynamic file name. placeholders can be combined to make the final file path.

If you need to use a value of xml tag, then use the highlighted placeholder. It will read the first occurrence of the xml tag.

Eg: %FILE_OUT%\%MESSAGE_FUNCTION%_%TAG=ORDER_NO%.xml

 

Hope it helps!

Damith

View original
Did this topic help you find an answer to your question?

2 replies

dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 836 replies
  • Answer
  • December 19, 2022

Hi @Amar1479 

 

You can use placeholders in the routing address to setup a dynamic file name. placeholders can be combined to make the final file path.

If you need to use a value of xml tag, then use the highlighted placeholder. It will read the first occurrence of the xml tag.

Eg: %FILE_OUT%\%MESSAGE_FUNCTION%_%TAG=ORDER_NO%.xml

 

Hope it helps!

Damith


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Partner)
  • 18 replies
  • December 19, 2022

Thank you Damith.
i have tried same way and it's working fine.
 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings