Issues with XML PORTS

postsaurav
postsaurav Member Posts: 708
edited 2010-10-22 in NAV Three Tier
I am trying to develop an xml port .
XML port direction is set to both.

Some values are provided from user using request PAGE.

The issue i am facing is that the values stored in request page (entered by the user) are lost when i run the xml port (in PRE XML dataitem).

can anybody help me how to resolve the issue.


Thanks in advance.

Thanks & Regards,
Saurav Dhyani

Do you Know this About NAV?


Connect - Twitter | Facebook | Google + | YouTube

Follow - Blog | Facebook Page | Google + Page

Answers

  • ara3n
    ara3n Member Posts: 9,258
    request page is suppose to be used for dataports only. I suggest to have a report as UI where the user enters the info, and through function you can pass it to the xmlport and then export/import the xmlport.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • deV.ch
    deV.ch Member Posts: 543
    I have done the same as you, an xmlport with a requestpage, and it works fine! are you sure you have the latest hotfix installed?

    I experienced that a requestpage works fine, the only thing that didn't work, was to use a Textbox with ComDialog to get a filename and then pass it to the import. If you pass something to CurrXMLport.Filename during requestpage process, it gets lost and you get the filename dialog again after requestpage.