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?
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;