Passing parameters to XML Port

erugalatha
erugalatha Member Posts: 120
Hi,

Is it possible to pass parameters into an XML Port?

I have created a form that gathers information from the user. This form calls my XML Port but I want to pass the contents of the vars populated on the form into the XML Port so it can be output to the XML file.

Is there a way to do this?

Thanks for any help.

Comments

  • ara3n
    ara3n Member Posts: 9,258
    Yes, in the xmlport, create a function and pass the parameters.
    Before calling the xmlport, call your function and pass the parameters.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • kine
    kine Member Posts: 12,562
    As ara3n wrote> the way is same as for reports, dataports, forms, codeunits...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.