Skip to main content
Solved

How to give Dynamic File name to OutBound XML

  • Dec 16, 2022 1:59 PM UTC
  • 2 replies
  • 399 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

2 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • Answer
  • Dec 19, 2022 7:28 AM UTC

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)
  • Dec 19, 2022 7:34 AM UTC

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