XMLPort File Selection

derrickderrick Member Posts: 86
Hi, I am new in XML Port, would like to check if XML Port can never call up the "File Selection" screen like how it is in the DataPort? So, the XML File Name and Path has always been predefined? :shock:

Answers

  • kinekine Member Posts: 12,562
    No, XMLPort is in most cases called from another code, and you need to pass Stream to the XMLPort. XMLPort itself have no user interface. It means, create e.g. codeunit, which will take the file name, create the instream, pass it to the XMLPort...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • derrickderrick Member Posts: 86
    Okay, understand. Thanks, Kamil.
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.