Hello everyone,
we used to have a coding to upload a XML-file to a blob field which worked in the classic client. Since some changes were made, we tried to figure it out to get this done in the RTC. The coding is similiar to the one used in the topic
viewtopic.php?f=32&t=32458&hilit=CREATEINSTREAM+rtc, so I just copy it from there.
Xml.CREATEINSTREAM(inStr);
filename := 'c:\temp\file.xml'; //threeTier.EnvironFileName('file','xml');
XMLDocIn.save(filename);
UPLOADINTOSTREAM('',threeTier.Magicpath,'',filename,inStr);
If we use this coding, the blob field is still empty and I have no idea why. I am sure that someone already got it to work and it would be very nice if you could help us with this.
Thanks in adance!
Regards
Nicole
Comments
p_autXMLSalida: XML automation variable.
l_outStream: OutStream variable
l_recTempBLOB: Record to TempBlob table
Sergi Navarro
MCTS: Microsoft Dynamics™ NAV 2009 C/SIDE Solution Development
Visit my Navision Spanish Blog here: http://www.sergisoft.com