Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

RTC (NAV 2009 R2) - XMLPort Export to client machine instead of server

$
0
0
I have a codeunit that runs an XMLPort (EXPORT). It uses the same code that I'm sure we've all copy/pasted many times (see below).

The problem is that if I open the RTC on my local PC, and run the codeunit, the file is saved on the Navision server.

The weird thing is, if I open the Classic and run the EXACT SAME codeunit, it saves it local to my PC.

Is there a way of making the RTC save the output on my local PC instead of the server?
varXmlFile.CREATE(FilePath+'\xmlout.xml')
varXmlFile.CREATEOUTSTREAM(varOutputStream);
XMLPORT.EXPORT(XMLPORT::"The XMLPort I Am Running", varOutputStream);
varXmlFile.CLOSE;

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>