Options

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

  • Options
    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
  • Options
    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 ](*,)
  • Options
    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
  • Options
    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
  • Options
    pdjpdj Member Posts: 643
    4) Is that possible to Import CSV File through XMLPORT in CLASSIC CLIENT?
    No.
    Regards
    Peter
  • Options
    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
  • Options
    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|
  • Options
    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
  • Options
    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
  • Options
    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|
  • Options
    Ravi_ThakkarRavi_Thakkar Member Posts: 392
    Thanks for your valuable inputs.
    :)
    Ravi_Thakkar
    Ahmedabad, Gujarat, India
    E Mail : ravi.thakkar@hotmail.com
  • Options
    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.