Options

Save AS XMLDOM

CarlesTACarlesTA Member Posts: 11
edited 2014-01-12 in NAV Three Tier
Hi folk
I'm using object XMLDom and method Save like this with Nav 2009 RTC


CREATE(objDom);

objXmlProcessingInstruction:=objDom.createProcessingInstruction('xml', 'version="1.0" encoding="utf-8"');
objDom.appendChild ( objXmlProcessingInstruction);
...

objDom.save('c:\temp\test.xml');


But I would like to promp the user the path to save the XML file.
Is there any object or a STREAM to bypass the path to the save method ?

thanks!

Carles

Comments

  • Options
    ta5ta5 Member Posts: 1,164
    Hi Charles
    Just in case if you are not aware of this: If you work on the middle tier, the file gets saved on the middle tier server, not the client. You can use the upload function, see also
    http://msdn.microsoft.com/en-us/library/dd301144.aspx, you can also find more examples on the web.

    Hope this helps
    Thomas
  • Options
    CarlesTACarlesTA Member Posts: 11
    Thomas, thanks a lot!!
Sign In or Register to comment.