DATAPORTS Vs XMLPORTS - CLASSIC Vs RTC

Ravi_ThakkarRavi_Thakkar Member Posts: 392
edited 2011-07-15 in NAV Three Tier
Hello All,

There are some doubts. Please, provide your comments.

1) Is that possible to Import TEXT File using XML PORT in CLASSIC? My answer is NO.

2) Is that possible to Import TEXT File using XML PORT in RTC? My answer is YES.

3) Is that possible to Import TEXT File using DATA PORT in RTC? Where dataport is accessed through code. My Answer is NO.

Please, suggest.
Ravi_Thakkar
Ahmedabad, Gujarat, India
E Mail : ravi.thakkar@hotmail.com

Comments

  • pdjpdj Member Posts: 643
    You are right :(

    I'm always making my import and export code in a report - both for text and xml files.
    Then it works in both RTC and Classic client...
    Regards
    Peter
  • arnhembarnhemb Member Posts: 9
    Correct as I understand XMLports.
    Your point 1 really threw me off in the beginning when trying to run XMLports in Classic ](*,)
  • clabandclaband Member, Microsoft Employee Posts: 26
    Dataports and XMLports were merged into XMLports in RTC when we released NAV 2009. For not so obvious reasons the name stayed with XMLports. In NAV 2009 dataports should be transformed into XMLports to run in RTC. We added not only the capability of reading and writing txt files but also a request page

    In all your assumptions are correct

    /Claus
    Claus Busk Andersen
    Program Manager
    Microsoft Dynamics NAV
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Thank you all for your inputs.

    4) Is that possible to Import CSV File through XMLPORT in CLASSIC CLIENT?

    Please, suggest.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • pdjpdj Member Posts: 643
    4) Is that possible to Import CSV File through XMLPORT in CLASSIC CLIENT?
    No.
    Regards
    Peter
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Thanks for your reply.

    Please, answer my one silly question.

    5) What was the exact use of XMLPORT in CLASSIC CLIENT in NAV VERSIONS does not have RTC?
    (PRE NAV 6.0 Versions)
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • SogSog Member Posts: 1,023
    Importing/Exporting xml files. What else did you think?
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Thanks.

    I was trying to import csv file through Xmlport in Classic.
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • BeliasBelias Member Posts: 2,998
    well...csv files are just like text files with another extension...rename it and dataport-it (if you're in classic) or xmlportastext-it (if you're in RTC), if possible... :mrgreen:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • SogSog Member Posts: 1,023
    Belias wrote:
    well...csv files are just like text files with another extension...rename it and dataport-it (if you're in classic) or xmlportastext-it (if you're in RTC), if possible... :mrgreen:
    well... [insert fileextension] files are just like text files with another extension. The only difference is that [insert fileextension] has rules in formatting, while a text file doesn't.
    Which means that a dataport set for textimport will allow any file to be imported. Wether it will succeed will depend on the formatting in the file itself.
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Thanks for your valuable inputs.
    :)
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • Gunjan28Gunjan28 Member Posts: 5
    I am facing one issue regarding the XMLport, In Dataport we have the trigger PostDataitem but in XMLport this trigger is not available, so please help me to tell in which trigger should I write the code of PostDataItem Trigger in XMLport.

    Thanks in Advance!
Sign In or Register to comment.