XMLPort Export Table Data

NAVTech
NAVTech Member Posts: 16
Hi:
I have just created an XMLPort, but cannot get it to export more than the first table record to XML. I am currently not using any filters etc.

Can anyone help? I am new to this :(

Answers

  • kine
    kine Member Posts: 12,562
    You need to do more indented content. First node must be only one. It means you need to do something like:
    <root>
      <myrecord>
        <myfield1>
        <myfield2>
        ....
      </myrecord>
      <myrecord>
        <myfield1>
        <myfield2>
        ....
      </myrecord>
    </root>
    
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • NAVTech
    NAVTech Member Posts: 16
    Nice. Thank you very much. It's a little confusing to only have the one root node and needing the repetition from the table.

    Cheer! :D
  • kine
    kine Member Posts: 12,562
    You are welcome... 8)

    If your problem is solved, please, use the "SOLVED" attribute on your first post (there is option box for that when editing the post...)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • mootsoo
    mootsoo Member Posts: 70
    del
    bye my work, bye navision